I seem to have run into and issue in trying to get Crypto++ to work on 
Android Marshmallow using Android Studio. When I run my app on a 
Marshmallow device I get the following error and subsequent crash.

java.lang.UnsatisfiedLinkError: dlopen failed: library 
"./obj/local/armeabi-v7a/libcryptopp.so" not found
>
>
I believe this has to do with the Android runtime changes mentioned here  
<http://developer.android.com/about/versions/marshmallow/android-6.0-changes.html#behavior-runtime>but
 
I am not really sure how this can be resolved? Crypto++ does not link 
against OpenSSL, which I originally thought was the issue, since Android 
Marshmallow switched from OpenSSL to BoringSSL. All that leaves from what I 
can tell issues with text relocation? I am not even sure what that means...

Here 
<http://stackoverflow.com/questions/34906495/library-not-found-due-to-targetsdkversion-armeabi-v7a-and-libcryptopp-so>
 
is my related Stack Overflow post, where you can find more info and here 
<https://github.com/tcolligan-ap/ECDHTest> is my Android Studio GitHub 
project, which runs great on all 4.3+ Devices except 6.0 devices. Is there 
anything that needs to be updated with the CryptoPP Android wiki or the 
GNUMakeFile maybe? Kind of at a loss here...

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com.
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to