On Wednesday, January 20, 2016 at 6:23:30 PM UTC-5, Jeffrey Walton wrote:
>
>
>
> On Wednesday, January 20, 2016 at 6:13:09 PM UTC-5, Thomas Colligan wrote:
>>
>> 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...
>>
>
> This looks like an Android bug. See 
> http://code.google.com/p/android/issues/detail?id=191235 and 
> http://android-review.googlesource.com/#/c/155950/1/linker/linker.cpp .
>
> I'm not sure what you can do about it other than to "star" the bug report 
> and hope AOSP fixes it.
>

Or maybe even "Impossible to load armeabi library if at least one 
armeabi-v7a is present", 
http://code.google.com/p/android/issues/detail?id=196269.

Its just hard to say... It could be problems with the development 
environment or with the OEM. The AOSP folks are not a responsive as they 
could be, so its hard to tell what the problems are, what needs to be 
fixed, and what has been fixed.

Jeff

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