[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: shared libraries and selinux



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]