SQLCipher for Android compilation


#1

I’m using Ubuntu 16.04 x64 and using the android-database-sqlcipher.
After ‘make init’ i do the ‘make’ and it exits with error:

checking for library containing pthread_mutexattr_init… none required
checking for crypto library to use… openssl
checking for HMAC_Init_ex in -lcrypto… no
configure: error: Library crypto not found. Install openssl!"
Makefile:30: recipe for target ‘build-amalgamation’ failed
make: *** [build-amalgamation] Error 1

Shouldn’t it be using the openssl that just compiled ?

Could it be that i’m using a 64bit environment ?


#2

Had the same issue in Ubuntu 14.04. Was able to resolve by installing OpenSSL using the following, you might want to try the same.

sudo apt-get install libssl-dev


#3

Pratyul that’s it !

Thanks alot it solved the issue :smiley: