+++ This bug was initially created as a clone of Bug #93078 (I was not abble to reopen it) +++ When using the perl module included with ImageMagick(perlmagick), it crashes with: perl: symbol lookup error: /usr/lib/perl5/vendor_perl/5.8.5/x86_64-linux/auto/Image/Magick/Magick.so: undefined symbol: InitializeMagick I attempted to compile the package by hand: Step 1: untar ImageMagick-6.2.2-3.tar.bz2 from distfiles Step 2: default ./configure only adding CFLAGS="-O3 -march=k8 -fomit-frame-pointer -pipe" Step 3: compile Step 4: enter in the PerlMagick subdirectory Step 5: examine the Makefile.PL per the Readme.txt, which says to change the LIBS value in Makefile.PL by hand Step 6: delete some weird looking lib entries from LIBS (--rpath and -Wl,) LIBS before: 'LIBS' => ['-L/usr/local/lib -lMagick -L/usr/lib64 -L/usr/lib64 -Wl,--rpath -Wl,/usr/lib64 -lfreetype -lz -L/usr/lib -ltiff -lfree type -ljpeg -lpng -ldpstk -ldps -lXext -lXt -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lpthread -lm -lpthread'], LIBS after: 'LIBS' => ['-L/usr/local/lib -lMagick -L/usr/lib64 -L/usr/lib64 -lfreetype -lz -L/usr/lib -ltiff -lfreetype -ljpeg -lpng -ldpstk -ldps -lXext -lXt -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lpthread -lm -lpthread'], Step 7: perl Makefile.PL Step 8: make Step 9: make test(fails a bunch because it wants gs(ghostscript) which i don't have Step 10: make install (notice it installs by default to /usr/lib/perl5/site_perl/5.8.5/x86_64-linux/auto/Image/Magick/Magick.so instead of /usr/lib/perl5/vendor_perl/5.8.5/x86_64-linux/auto/Image/Magick/Magick.so Step 11: rename the broken /usr/lib/perl5/vendor_perl/5.8.5/x86_64-linux/auto/Image/Magick/Magick.so to get it out of the way Step 12: Success. Module works perfectly Reproducible: Always Steps to Reproduce: 1. Install ImageMagick with perl USE flag 2. add line "use Image::Magick" to any perl script 3. Actual Results: execution aborted with: perl: symbol lookup error: /usr/lib/perl5/vendor_perl/5.8.5/x86_64-linux/auto/Image/Magick/Magick.so: undefined symbol: InitializeMagick Expected Results: No error ____________________________________________________________ Sorry, but the bug come back with version 6.3.0.5. I tried to recompile all perl and it's dependencies (emerge libperl perl && perl-cleanner reallyall) and then recompile imagemagick with no success: /usr/bin/perl: symbol lookup error: /usr/lib/perl5/site_perl/5.8.8/i686-linux-thread-multi/auto/Image/Magick/Magick.so: undefined symbol: InitializeMagick
*** This bug has been marked as a duplicate of bug 155804 ***
Created attachment 111391 [details] my emerge --info if requiered