"Can't modify text section" error trying to load .so library

Robert Dodier robert.dodier at gmail.com
Thu Jan 10 16:28:12 UTC 2008

On Jan 8, 2008 5:46 PM, Mike Frysinger <vapier at gentoo.org> wrote:

> > I see the error message is within the else part of
> > If I undefine that and recompile uClibc, I guess it would disable the
> > error message. Could I expect uClibc to generally work OK with
> > that undefined?
> it's a uClibc configure option, you do not need to modify the source code.  if
> you allow TEXTRELs in shared objects, then this should not affect any shared
> objects that are compiled correctly in any way.

For the record, I recompiled uClibc with FORCE_SHAREABLE_TEXT_SEGMENTS
undefined (via the .config file) and now I can execute the program of
interest (J9) successfully.

Thanks for your help,
Robert Dodier

More information about the uClibc mailing list