Linking with versioned shared library in Android NDK

Viewed 3651

I am trying to load two shared libraries in my Android application through the loadLibrary call:

System.loadLibrary("mywrapper");
System.loadLibrary("crypto");

I keep running catching the `UnsatisfiedLinkError. Here is a more detailed version of the error.

Caused by: java.lang.UnsatisfiedLinkError: Cannot load library: link_image[1969]:
  130 could not load needed library 'libcrypto.so.1.0.0' for 
  'libmywrapper.so' (load_library[1111]: Library 'libcrypto.so.1.0.0' not found)

Any ideas?

After spending some time I found out that Android doesn't support versioned libraries. Has any one faced the same issue?

3 Answers
Related