# SQLCipher for Android compilation

**URL:** <https://discuss.zetetic.net/t/sqlcipher-for-android-compilation/1493>\
**Category:** Issues\
**Created:** [June 30, 2016, 11:37am UTC](https://discuss.zetetic.net/t/sqlcipher-for-android-compilation/1493 "2016-06-30T11:37:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![artur](https://avatars.discourse-cdn.com/v4/letter/a/53a042/32.png) [@artur](https://discuss.zetetic.net/u/artur)\
**Post date:** [June 30, 2016, 11:37am UTC](https://discuss.zetetic.net/t/sqlcipher-for-android-compilation/1493/1 "2016-06-30T11:37:59Z")

</div>

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 ?

---

<div class="post-metadata">

**Author:** ![Pratyul](https://avatars.discourse-cdn.com/v4/letter/p/e56c9b/32.png) [@Pratyul](https://discuss.zetetic.net/u/Pratyul)\
**Post date:** [July 1, 2016, 4:30pm UTC](https://discuss.zetetic.net/t/sqlcipher-for-android-compilation/1493/2 "2016-07-01T16:30:37Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![artur](https://avatars.discourse-cdn.com/v4/letter/a/53a042/32.png) [@artur](https://discuss.zetetic.net/u/artur)\
**Post date:** [July 1, 2016, 7:37pm UTC](https://discuss.zetetic.net/t/sqlcipher-for-android-compilation/1493/3 "2016-07-01T19:37:22Z")

</div>

Pratyul that’s it !

Thanks alot it solved the issue 😃
