# Compile sqlcipher in ubuntu18.04

**URL:** <https://discuss.zetetic.net/t/compile-sqlcipher-in-ubuntu18-04/4286>\
**Category:** SQLCipher\
**Created:** [March 6, 2020, 2:41pm UTC](https://discuss.zetetic.net/t/compile-sqlcipher-in-ubuntu18-04/4286 "2020-03-06T14:41:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yep\_zhang](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.zetetic.net/yep_zhang/32/1262_2.png) [@yep\_zhang](https://discuss.zetetic.net/u/yep_zhang)\
**Post date:** [March 6, 2020, 2:41pm UTC](https://discuss.zetetic.net/t/compile-sqlcipher-in-ubuntu18-04/4286/1 "2020-03-06T14:41:08Z")

</div>

sudo ./configure --enable-tempstore=yes CFLAGS="-DSQLITE\_HAS\_CODEC" LDFLAGS="-lcrypto", I want to compile sqlcipher, but it show this

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zetetic/original/2X/3/31105a98fc8209a94a02e4b9ff80ab5f38e89034.png) .Does anybody have met this problem before?

---

<div class="post-metadata">

**Author:** ![developernotes](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.zetetic.net/developernotes/32/1309_2.png) [@developernotes](https://discuss.zetetic.net/u/developernotes)\
**Post date:** [March 6, 2020, 3:04pm UTC](https://discuss.zetetic.net/t/compile-sqlcipher-in-ubuntu18-04/4286/2 "2020-03-06T15:04:11Z")

</div>

Hi @yep_zhang

The specific error will be found in the `config.log` file, what did it say? Make sure you have `build-essential` installed:

```auto
sudo apt-get install build-essential

```

---

<div class="post-metadata">

**Author:** ![yep\_zhang](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.zetetic.net/yep_zhang/32/1262_2.png) [@yep\_zhang](https://discuss.zetetic.net/u/yep_zhang)\
**Post date:** [March 6, 2020, 3:44pm UTC](https://discuss.zetetic.net/t/compile-sqlcipher-in-ubuntu18-04/4286/3 "2020-03-06T15:44:02Z")

</div>

I have just install build-essential, the above error won’t show. But another problem occurs. 😥  
this is my sub-system ubuntu18.04 of win10

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zetetic/original/2X/f/f66414300b6598b537f1541fc2c073412433a539.png)  
the openssl is already installed, and then I installed the libssl-dev, but the /usr/lib/libcrypto.a doesn’t exists.  
ps:I have compiled and make sqlite3 already.
