Crashed related to OpenSSL on Android M

asked 2015-10-19 03:42:44 -0700

hoangnb gravatar image

updated 2015-10-19 22:25:07 -0700

ry.jones gravatar image
Linux Foundation Staff

My application is crashed when I install it on the Android M. Please see the log below:

E/AndroidRuntime(9511): java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "OPENSSL_add_all_algorithms_noconf" referenced by "/data/app/com.example.alljoyn/lib/arm/liballjoyn_java.so"...

Following announcement from Google, Android is moving away from OpenSSL to the BoringSSL library. So if we still use the openSSL, our application will be crashed. Have someone known how to fix this issue? Note: I'm using AllJoyn 14.12 library.

edit retag flag offensive close merge delete


you should ask on the mailing list: https://lists.allseenalliance.org/mailman/listinfo/allseen-core I don't think anyone has done work to validate M as a platform.

ry.jones ( 2015-10-19 22:24:52 -0700 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-10-20 16:16:24 -0700

praveenb gravatar image

AllJoyn releases 15.04 and newer (recently released 15.09), have an option of builtin crypto, which avoids the OpenSSL dependency. This can be enabled passing CRYPTO=builtin to scons command.

edit flag offensive delete publish link more


Hi praveenb, Our system is using version 14.12. If we change to use 15.04 for Android, we need to upgrade all of platforms (iOS, thin client, etc). This takes a lot of effort. Do we have any quick solution for 14.12?

hoangnb ( 2015-10-20 21:26:00 -0700 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-10-19 03:42:44 -0700

Seen: 674 times

Last updated: Oct 20 '15