Image::Magick problem after (failed?) install

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Does any one have any idea what is wrong here?  When ever I try to run
any of my scripts that use Image::Magick I get the following error.

/usr/bin/perl: error while loading shared libraries:
8.3/i386-linux-thread-multi/auto/Image/Magick/ undefined
symbol: AcquireMagickMemory

I don't think that it is installed correctly (obviosly).  Here is the
error I get when I try to test this with cpan.

rm -f blib/arch/auto/Image/Magick/
gcc  -L/usr/local/lib -shared -L/usr/local/lib Magick.o  -o
/Magick/   -L/usr/local/lib -lMagick -L/usr/X11R6/lib
-lfreetype -lz -L
/usr/lib -ltiff -lfreetype -ljpeg -lpng -ldpstk -ldps -lXext -lXt -lSM
-lICE -lX
11 -lbz2 -lxml2 -lz -lpthread -lm -lpthread
/usr/bin/ld: cannot find -lfreetype
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/Image/Magick/] Error 1
   /usr/bin/make  -- NOT OK
Running make test
   Can't test without successful make

If I try to install will cpan it says everything is ok.  If I try the
test is says that it cannot continue.

BTW I have tried to install this from binary too.

I am running on Fedora Core 2 Kernel 2.6.7-1.494.2.2
Perl v5.8.3 built for i386-linux-thread-multi



Re: Image::Magick problem after (failed?) install

Kris Munroe wrote:

> Does any one have any idea what is wrong here?
> /usr/bin/ld: cannot find -lfreetype

Have you installed the freetype library?

Site Timeline