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#1299 - prelink cannot work with non-PIC library 'libz'
Attached to Project:
Arch Linux
Opened by Ash (Thikasabrik) - Monday, 23 August 2004, 16:20 GMT
Last edited by arjan timmerman (blaasvis) - Monday, 23 August 2004, 16:32 GMT
Opened by Ash (Thikasabrik) - Monday, 23 August 2004, 16:20 GMT
Last edited by arjan timmerman (blaasvis) - Monday, 23 August 2004, 16:32 GMT
|
DetailsWhen I run 'prelink --all' on my system with a config file that covers most of the filesystem, it stumbles on certain binaries that link to libz, complaining: "Cannot prelink against non-PIC shared library". This page - http://www.gentoo.org/doc/en/prelink-howto.xml - explains that "The cause of this problem is from badly compiled shared libraries that were compiled without the -fPIC gcc option for all their object files."
I am not sure whether this error prevents prelinking the file concerned, but there are a lot of them, and it is certainly not optimal. |
This task depends upon
Comment by Ash (Thikasabrik) -
Monday, 23 August 2004, 16:52 GMT
Just adding export CFLAGS="$CFLAGS -fPIC" to the beginning of the build seems to work nicely. Tell me if this is a mistake.
Comment by Ash (Thikasabrik) -
Monday, 23 August 2004, 16:57 GMT
Oops, forgot to mention that libpam.so.0 and libpam_misc.so.0 have this problem too, but far fewer apps use it, as does libGL.so.1, but i use the nvidia drivers, so this may be to do with that, and thus only nvidia can fix it. Also libmplex2-1.6.so.0