- 下載源碼:http://source.wiredtiger.com/
- 編譯:Building and installing WiredTiger on POSIX
- 執行腳本:sh autogen.sh
此時報了一個錯誤,can’t exec libtoollize
解決方法:sudo apt-get install automake autoconf libtool
上述語句是按照autoconf automake相關軟件,我之前按照過了,其實可能是沒有安裝libtool
後面的步驟按照教程來就是了,例子在examples文件夾下都有,可以拿出來編譯運行,
gcc -o xx xx.c -lwiredtiger