linuxopensslconfiguresqlcipherubuntu-14.10

Configuring SQLCipher on Ubuntu 14.10


i have a problem in configuring SQLCipher:
in dynamic linking
./configure --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC" LDFLAGS="-lcrypto"
i receive this error: checking whether the C compiler works... no
and in static linking
./configure --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC" LDFLAGS="/usr/local/openssl/lib/libcrypto.a"
this error: configure: error: Library crypto not found. Install openssl!"

for static method, i built last version of openssl

what's wrong?


Solution

  • My problem solved!
    sudo apt-get update
    sudo apt-get install sqlcipher
    thanks to Diego