[magick-users] Mysterious libgomp.so.1 errors w/6.3.5-9

jayjwa jayjwa at atr2.ath.cx
Mon Sep 17 15:34:06 PDT 2007


I recently upgraded from 6.3.3-0 to 6.3.5-9. When I ran the PerlMagick build 
test, and also the demos, I got errors similar to this one:

/bin/sh ../magick.sh PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/bzlib/*.t t/jpeg/*.t t/png/*.t t/tiff/*.t t/wmf/*.t t/wmf/*.t t/zlib/*.t
t/blob............Can't load '/tmp/ImageMagick-6.3.5/PerlMagick/blib/arch/auto/Image/Magick/Magick.so' for module Image::Magick: libgomp.so.1: shared object cannot be dlopen()ed at /usr/lib/perl5/5.8.8/i686-linux-thread-multi/DynaLoader.pm line 230.
  at t/blob.t line 7
Compilation failed in require at t/blob.t line 7.
BEGIN failed--compilation aborted at t/blob.t line 7.
Deep recursion on subroutine "Image::Magick::AUTOLOAD" at /tmp/ImageMagick-6.3.5/PerlMagick/blib/lib/Image/Magick.pm line 42.

If I let it run, it eventually eats 100% CPU and exhausts all memory. Later I 
was running something linked against one of the IM libraries:

  php -a
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/lib/php/extensions/magickwand.so' -
libgomp.so.1: shared object cannot be dlopen()ed in Unknown on line 0

and got a similar error. I checked out libgomp, it appears to be fine. I even 
re-installed it from my gcc build, since I still had my build tree from awhile 
ago. Nothing changed, same errors. It's gcc-4.2.1, running on glibc-2.6.1, on 
a 2.6.22.6 GNU/Linux (no distro) system.

I don't think it's a problem with libgomp itself. To test, I compiled two test 
openmp programs that link this library and they both work.

I down-graded back to ImageMagick 6.3.3-8 and the problems went away, as well 
as the PerlMagick tests finished correctly. Has anyone seen this issue before 
or might know what further to look for?

As a side note, I also noticed the little pan icon to 'display' only appears 
once per series of picutes now, not at each picture requiring it as the case 
used to be. This also went away with down-grading.

Ex: 
display some-large-pictures-*

with a series 01-n of files "some-large-pictures" will show the pan icon for 
"some-large-picture-01.png" but not for *-02.png onward.



More information about the Magick-users mailing list