Page 1 of 1

install fails under Mac OS X 10.6

Posted: 2010-07-25T07:40:47-07:00
by gpetty
I am trying to install ImageMagick-6.6.3 under Mac OS X 10.6 (Snow Leopard). Initially I tried installing binaries but ran into subsequent problems with incompatible libraries (if I recall correctly --it's been a couple of days) that led someone to advise me to attempt an install from source instead.

In a nutshell, configure run with the following options

> ./configure --prefix=/usr/local --with-quantum-depth=16 --with-x=yes --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib/

completes without error, but make generates the following:

> make
make all-am
CCLD magick/libMagickCore.la
/usr/bin/nm: no name list
Undefined symbols:
"_RegisterEXRImage", referenced from:
_RegisterStaticModules in magick_libMagickCore_la-static.o
"_UnregisterEXRImage", referenced from:
_UnregisterStaticModules in magick_libMagickCore_la-static.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [magick/libMagickCore.la] Error 1
make: *** [all] Error 2

I can find no reference to this error online and have no idea how to fix it, but offhand it seems like a bug in the install package in view of the successful configure. Incidentally, I have no need for EXR, so if there's a switch to turn off that capability and bypass the above problem, I'd use it.

Re: install fails under Mac OS X 10.6

Posted: 2010-07-25T07:49:34-07:00
by gpetty
I remember now WHY I decided to try to install from source. I was experiencing the exact same problem discussed in this thread:

http://studio.imagemagick.org/pipermail ... 18487.html

Re: install fails under Mac OS X 10.6

Posted: 2010-07-25T07:59:17-07:00
by magick
Check your magick/magick-config.h file. Is MAGICKCORE_OPENEXR_DELEGATE defined? If so, it calls RegisterEXRImage() and UnregisterEXRImage() from magick/static.c. If its not defined, check to see if you have more than one version of ImageMagick installed. Perhaps an older version has EXR support built-in.