My platform is AIX 6.1
I have a working build of ImageMagick 6.8.5-6
Now I am trying to get IMagick 3.1.0 RC2 built, but I am running into issues building a shared library.
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/extensions/imagick.so' -
rtld: 0712-001 Symbol MagickWriteImageFile was referenced
from module /usr/local/php/extensions/imagick.so(), but a runtime definition
of the symbol was not found.
...several other ImageMagick symbols and sqrt() reported as not being found....
I found that by modifying a couple variables in the Makefile, that the errors went away and IMagick appears to be working fine. (still testing)
EXTRA_LDFLAGS = -lm
IMAGICK_SHARED_LIBADD = /usr/local/lib/libMagickCore-6.Q16.a /usr/local/lib/libMagickWand-6.Q16.a
I'm wondering if I missed something in my configure step? Or a problem with the software ?
My configure:
./configure --enable-shared \
--with-php-config=/usr/local/php/bin/php-config