Hi,

The problem is solved with 'export HB_USER_CFLAGS=-fpic' magic as it is
recommended in a document from Red Hat. I verified the new harbour.so with
eu-findtextrel and the errors are gone.
Any comment of this issue is useful, as I see. Maybe the '-fpic' flag should
be the default and without, the option.

Best regards,
István


-----Original Message-----
From: Lorenzo Fiorini [mailto:[email protected]] 
Sent: 2009. szeptember 11. 11:43
To: Harbour Project Main Developer List.
Subject: Re: [Harbour] SELinux alert: libharbour-2.0.0.so which requires
text relocation

On Fri, Sep 11, 2009 at 11:11 AM, Bisz István <[email protected]>
wrote:
>
> ‘SELinux is preventing demoqt from loading
> /usr/local/lib/harbour/libharbour-2.0.0.so which requires text
relocation.’

It has always been in this way.

If I run eu-findtextrel I get 81094 lines of:

either the file containing the function '_init' or the file containing
the function 'HB_FUN_HB_GT_TRM' is not compiled with -fpic/-fPIC
...
either the file containing the function 'hb_macroExprNewFunCall' or
the file containing the function 'hb_macroerror' is not compiled with
-fpic/-fPIC

best regards,
Lorenzo


_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to