shared libraries and selinux
Kevin Kofler
kevin.kofler at chello.at
Sat Oct 13 04:01:21 UTC 2007
Matthew D Truch <matt <at> truch.net> writes:
> That's why I emailed this list, I didn't want the hacks. But I have no
> idea what this eu-findtextrel is or does. Attached is the output, but
> none of it mentions anything about text relocations (that I can figure
> out).
Shared libraries are supposed to be compiled with -fpic or -fPIC. If you don't
do that, you end up with those text relocations. You need to add the missing
PIC (Position Independent Code) flag to the makefile for the shared libraries.
Kevin Kofler
More information about the fedora-devel-list
mailing list