[magick-developers] Compiling ImageMagick-6.3.5 on x64 (CentOS 4.5)

Scott Ruckh sruckh at gemneye.org
Thu Aug 30 11:20:38 PDT 2007


I am trying to compile from source ImageMagick 6.3.5-6 on a x65 CentOS 4.5 host.

I run the following commands:
./configure
make
sudo make install

When executing the convert program the following error is displayed:

convert: symbol lookup error: convert: undefined symbol: MagickCoreGenesis

I read on the list where someone was able to run ldconfig to correct this error, but this did not work for me.

I have also tried to build RPM but it appears that I run into a linking error:

/usr/bin/ld -L/home/user/rpmbuild/BUILD/ImageMagick-6.3.5/magick/.libs  -L../magick/.libs -lMagick -shared -L/usr/X11R6/lib64 -L/usr/lib64 -Wl,--rpath -Wl,/usr/lib64 -lfreetype -lz Magick.o  -o blib/arch/auto/Image/Magick/Magick.so   -L/usr/lib64 -L/home/user/rpmbuild/BUILD/ImageMagick-6.3.5/PerlMagick/../magick/.libs -lMagick
/usr/bin/ld: unrecognized option '-Wl,--rpath'

Should that be '-rpath' and not '--rpath' ?

I did have to run

'rpmbuild -bb ImageMagick.spec --nodeps' because I got this dependency error:
freetype2-devel is needed by ImageMagick-6.3.5-6.x86_64

I believe this is OK becuase freetype2-devel is installed (see following output)

rpm -qa | grep freetype
freetype-2.1.9-6.el4
freetype-devel-2.1.9-6.el4
freetype-2.1.9-6.el4

Also, the directory /usr/include/freetype2 does exist on this host.

Can someone please provide some help on how I can get this to compile and execude on my system.

Thank You.


More information about the Magick-developers mailing list