[guardian-dev] GuardianProject OpenSSL with NDK notes

Daniel Pocock daniel at pocock.com.au
Mon Jul 29 17:40:15 EDT 2013


On 29/07/13 16:35, Hans-Christoph Steiner wrote:
> 
> I've never tried to build in on MIPS.  Its a fork of the official openssl
> build in Android itself, and in turn there are forks of our project which
> might be more up-to-date.

Is there any particular one you would suggest?  Have you tried newer
OpenSSL versions with the same set of patches and build system?

> As for your specific error, your NDK is missing libz.so
>> warning: libz.so, needed by ./obj/local/mips/libcrypto.so, not found

That was my first thought, but I did find that libz.so does exist for
MIPS with android-9 and android-14 - there is some more subtle issue.
I'm going to try the new NDK they just released.

Anyhow, I've created a very convenient wrapper script and Android.mk
file for deploying this OpenSSL code as a prebuilt library:

https://github.com/resiprocate/openssl-android/tree/master/prebuilt

This works fine for armeabi, armeabi-v7a and x86



More information about the Guardian-dev mailing list