【c/c++】wiredtiger-2.9.3編譯錯誤

  1. 下載源碼:http://source.wiredtiger.com/
  2. 編譯:Building and installing WiredTiger on POSIX
  3. 執行腳本:sh autogen.sh

此時報了一個錯誤,can’t exec libtoollize
解決方法:sudo apt-get install automake autoconf libtool
上述語句是按照autoconf automake相關軟件,我之前按照過了,其實可能是沒有安裝libtool

後面的步驟按照教程來就是了,例子在examples文件夾下都有,可以拿出來編譯運行,
gcc -o xx xx.c -lwiredtiger

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章