Ubuntu下编译SqlCipher以及解密微信数据库EnMicroMsg.db过程和坑
wget https://codeload.github.com/sqlcipher/sqlcipher/zip/v3.4.2
./configure --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2" LDFLAGS="-lcrypto"
make sudo make install
sudo ldconfig
1 sudo apt install unzip 2 sudo apt install openssl 3 sudo apt install libssl-dev 4 sudo apt install libtool 5 sudo apt install tclsh 6 sudo apt install make
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
source .bashrc
nvm install 8.12.0
g++
python
安装nvm和node 8.12.0
安装yarn
配置编译sqlcipher
配置编译node-sqlite3