install fails under Mac OS X 10.6

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
gpetty
Posts: 3
Joined: 2010-07-25T07:23:49-07:00
Authentication code: 8675308

install fails under Mac OS X 10.6

Post 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.
gpetty
Posts: 3
Joined: 2010-07-25T07:23:49-07:00
Authentication code: 8675308

Re: install fails under Mac OS X 10.6

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: install fails under Mac OS X 10.6

Post 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.
Post Reply