Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#28776 - [imagemagick] linking with libperl.so
Attached to Project:
Arch Linux
Opened by Florian Pritz (bluewind) - Sunday, 04 March 2012, 21:22 GMT
Last edited by Eric Belanger (Snowman) - Wednesday, 14 March 2012, 01:59 GMT
Opened by Florian Pritz (bluewind) - Sunday, 04 March 2012, 21:22 GMT
Last edited by Eric Belanger (Snowman) - Wednesday, 14 March 2012, 01:59 GMT
|
DetailsDescription:
The imagemagick PKGBUILD contains 'LIBS="$LIBS -L/usr/lib/perl5/core_perl/CORE -lperl"' which causes some libraries to link with libperl.so without inheriting the rpath. This should either be replace with LIBS="$LIBS $(perl -MExtUtils::Embed -e ldopts)" or simply removed. I rebuilt imagemagick without that line, it didn't link to libperl.so anymore, yet still passed all tests and the perl module is also functional. Sadly the commit[1] that introduced this doesn't say what was broken. [1]: https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/imagemagick&id=32dadd07bfab20f89b6865026234d84dc1aa5281 |
This task depends upon
Closed by Eric Belanger (Snowman)
Wednesday, 14 March 2012, 01:59 GMT
Reason for closing: Fixed
Additional comments about closing: The line is removed in imagemagick-6.7.6.0-1
Wednesday, 14 March 2012, 01:59 GMT
Reason for closing: Fixed
Additional comments about closing: The line is removed in imagemagick-6.7.6.0-1
Comment by Justin Davis (juster) -
Sunday, 04 March 2012, 21:48 GMT
I don't think the LIBS= line is needed at all. This is causing the "coder" and "filter" modules (.so's) to link with libperl.so.
Comment by Eric Belanger (Snowman) -
Tuesday, 13 March 2012, 00:42 GMT
FTR, the problem was undefined synmbols in the perl module (ldd -r). I'll see if it's still needed.
Comment by Florian Pritz (bluewind) -
Tuesday, 13 March 2012, 10:40 GMT
The perl module should only be loaded by perl itself so this should never be an issue.