libopenconnect.so text relocation on Android M

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

 



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.
>



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux