M
M
mmomkona2017-04-11 15:56:15
Android
mmomkona, 2017-04-11 15:56:15

How to fix java.lang.UnsatisfiedLinkError in OpenSSL shared lib for android?

I'm trying to build a shared lib according to the manual described here: https://wiki.openssl.org/index.php/Android . Library version 1.0.2k.
But on startup, the application crashes, spamming this in the logs:
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "EC_curve_nist2nid" referenced by "libssl.so"
What to do, where to look?

log nm

[email protected]:~/openssl/openssl-1.0.2k$ nm libssl.so | grep U
...
U DSA_sign
U DSA_verify
U EC_curve_nist2nid
U ECDH_compute_key
U ECDSA_sign
U ECDSA_verify
U EC_GROUP_free
...

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question