cernekee / ics-openconnect

Android UI for OpenConnect VPN client
GNU General Public License v2.0
358 stars 130 forks source link

crash on Android M #7

Closed iceberg1369 closed 8 years ago

iceberg1369 commented 8 years ago

application throws an error on Android M java.lang.UnsatisfiedLinkError: libopenconnect.so has text relocations even compiling with NDK10e could not resolve the issue

magicbane commented 8 years ago

I'm currently using nexus 5X (6.0.1) with no problems. Is this still an issue?

iceberg1369 commented 8 years ago

I think .so files for apk should be updated cause they have TEXT_RELOCATIONS and furthermore openssl version of libs are old, therefore I think there should be a new makefile released for future compatibility

cernekee commented 8 years ago

Right, it should only show up when you bump the target SDK version in the manifest to >= M. The new check in Bionic is here.

It would be good to fix this upstream since that is where the Android Makefile comes from:

http://git.infradead.org/users/dwmw2/openconnect.git/blob/HEAD:/android/Makefile

BTW, the app uses GnuTLS instead of OpenSSL (but you can switch between the two by tweaking the Makefile). GnuTLS 3.2.21 is two major revs behind the current stable branch.

magicbane commented 8 years ago

Hmm. Yeah I noticed that it's still using sha1 cipher suites. I was thinking of updating it as well, but haven't gotten the time for it yet. On May 22, 2016 9:53 AM, "Kevin Cernekee" notifications@github.com wrote:

Right, it should only show up when you bump the target SDK version in the manifest to >= M. The new check in Bionic is here https://android.googlesource.com/platform/bionic/+/e4ad91f86a47b39612e030a162f4793cb3421d31%5E%21/#F0 .

It would be good to fix this upstream since that is where the Android Makefile comes from:

http://git.infradead.org/users/dwmw2/openconnect.git/blob/HEAD:/android/Makefile

BTW, the app uses GnuTLS instead of OpenSSL (but you can switch between the two by tweaking the Makefile). GnuTLS 3.2.21 is two major revs behind the current stable branch.

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/cernekee/ics-openconnect/issues/7#issuecomment-220809975

moralrebuild commented 7 years ago

@iceberg1369 Have you get this issue fixed? It drives me crazy for a year and now I have to switch to Cisco AnyConnect Mobile client which I hate to use.