using libssl.so in native Android app -


I am writing a native lib (mylib.so) for Android using NDK. Mylib.so depends on libssl.so.

The Android NDK doctor tells me that I should not use libssl.so from System / lib because it is not a part of the static API. Instead I should compile LIBSEBILL myself and add it to NDK.

But I think the mylib.so system is automatically connected to / lib / libssl.so because the Dalvik vm (which is loading mylib) is already dependent on libssl.so .

  $ readelf -d / system / bin / dalvikvm | Grep Share 0x00000001 (NEEDED) Shared Library: [libdvm.so] 0x00000001 (NEEDED) Shared Library: [libssl.so] 0x00000001 (NEEDED) Shared Library: [libz.so] 0x00000001 (NEEDED) Shared Library: [libc. So] 0x00000001 (required) Shared Library: [libstdc ++. 0x00000001 (NEEDED) Shared Library: [libm.so]   

So what is the correct way to deal with this? Are you using the system / lib / libssl.so anyway?

Thanks

You can download it at the following site:

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -