On Sunday, May 01, 2011 20:00:51 Patrick Lists wrote: > On 05/02/2011 01:49 AM, Patrick Dupre wrote: > > cannot restore segment prot after reloc > > From a little googling I understand this should fix the error: > > chcon -t texrel_shlib_t > /home/pdupre/Spectroscopy/test/blib/arch/auto/ttt/ttt.so > > Iirc the actual fix has something to do with compiler flags and not > touching the stack (or something like that). Your work-around will get it done, but... Dont't do that. Make a position independent library so relocation is not needed. Compile with -fpic and you won't require relocation. By the way, this has nothing to do with execution on the stack. -- Garry Williams -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines