libopenconnect.so text relocation on Android M

Mani Behrouz manibehrouz2 at gmail.com
Sat Mar 5 22:42:43 PST 2016


Android M reject shared libraries which have text relocations
trying to load libopenconnect.so in Android M throws following error:
java.lang.UnsatisfiedLinkError: libopenconnect.so has text relocations
and this error  stops the app to run.
but everything is ok in Android < M
I tries to somehow use PIC flag in CFLAGS but no success.

On Sat, Mar 5, 2016 at 10:55 PM, Mani Behrouz <manibehrouz2 at gmail.com> wrote:
> Android M reject shared libraries which have text relocations
> trying to load libopenconnect.so in Android M throws following error:
> java.lang.UnsatisfiedLinkError: libopenconnect.so has text relocations
> and this error  stops the app to run.
> but everything is ok in Android < M
> I tries to somehow use PIC flag in CFLAGS but no success.
>



More information about the openconnect-devel mailing list