missing libraries in PerlMagick (with patch)

Post any defects you find in the released or beta versions of the ImageMagick software here. The ImageMagick maintainers carefully monitor this list and will work diligently to repair any reported problems. When posting a bug report, please specify both the ImageMagick version and operating system you are using.

missing libraries in PerlMagick (with patch)

Postby _maekke_ » 2009-01-03T04:56:13+00:00

compiling ImageMagick with LDFLAGS="${LDFLAGS} -Wl,-z,-defs -Wl,--no-undefined" (--no-undefined is the important part here) will fail with something like that:
Code: Select all
Magick.o: In function `boot_Image__Magick':
Magick.c:(.text+0x61): undefined reference to `PL_stack_sp'
Magick.c:(.text+0x68): undefined reference to `PL_stack_base'
Magick.c:(.text+0x72): undefined reference to `PL_markstack_ptr'
Magick.c:(.text+0x132): undefined reference to `Perl_croak'
Magick.c:(.text+0x156): undefined reference to `Perl_newXS'
Magick.c:(.text+0x165): undefined reference to `Perl_sv_setpv'
Magick.c:(.text+0x17f): undefined reference to `Perl_newXS'{}
[....]
Magick.o: In function `XS_Image__Magick_UNLOAD':
Magick.c:(.text+0x27ed1): undefined reference to `PL_markstack_ptr'
Magick.c:(.text+0x27ed8): undefined reference to `PL_stack_sp'
Magick.c:(.text+0x27ef0): undefined reference to `PL_stack_base'
Magick.c:(.text+0x27f2e): undefined reference to `Perl_croak'
collect2: ld returned 1 exit status


this is caused by PerlMagick, which misses perl and math-lib references - a patch can be found here. The original bug report from Gentoo is located here.
_maekke_
 
Posts: 9
Joined: 2008-01-04T06:57:51+00:00

Return to Bugs

Who is online

Users browsing this forum: No registered users and 1 guest