1. 程式人生 > >關於Ubuntu下gcc編譯帶-lsqlite3出現錯誤的解決方法

關於Ubuntu下gcc編譯帶-lsqlite3出現錯誤的解決方法

如下錯誤:

/usr/bin/ld: 找不到 -lsqlite3 collect2: error: ld returned 1 exit status Makefile:16: recipe for target 'FrontServer' failed make: *** [FrontServer] Error 1

解決:

apt-get install sqlite3 apt-get install libsqlite3-dev