git clone https://github.com/sqlcipher/sqlcipher.git -b v3.4.2
./configure –enable-tempstore=yes CFLAGS=”-DSQLITE_HAS_CODEC” LDFLAGS=”-lcrypto”
make
sudo make install
./sqlcipher
gcc hello.c -o demo -lsqlcipher
声明:转载请注明出处,原文地址:shlu's note