git clone https://github.com/sqlcipher/sqlcipher.git -b v3.4.2
- sudo apt-get install gcc-4.9
- sudo apt-get install openssl
- sudo apt-get install libssl-dev
- sudo apt-get install tclsh
- sudo apt-get install tcl-dev
- sudo apt-get install tk-dev
./configure --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC" LDFLAGS="-lcrypto"
make
sudo make install
./sqlcipher
gcc hello.c -o demo -lsqlcipher