Comment 0 for bug 897380

Revision history for this message
Leo Iannacone (l3on) wrote :

Try to install perlmagick package and run following command:

$ perl -e 'use Image::Magick'

I get this error:

perl: symbol lookup error: /usr/lib/perl5/auto/Image/Magick/Magick.so: undefined symbol: MagickCoreGenesis

It seems that perlmagick has some wrong link... let's see the buildlog (1):
Snippet:

cc -L../magick/.libs -lMagickCore -shared -O2 -g -L/usr/local/lib -fstack-protector -Wl,-Bsymbolic-functions -Wl,-z,relro -L/usr/lib/X11 Magick.o -o blib/arch/auto/Image/Magick/Magick.so \
    -lperl -lm \

I'm not sure, bug the problem could be -lMagicCore declared too early.