1
$./configure --prefix ${HOME}/ocsigen OCSIGEN_USER=${USER} OCSIGEN_GROUP=${USER} --with-missing-libs
...
checking for sqlite3_open in -lsqlite3... no
configure: error: SQLite is required.  See the --with-sqlite3 configure option.

$uname -r
 [FreeBSD[ 9.0-RELEASE-p3

$whereis sqlite3
sqlite3: /usr/local/bin/sqlite3

$ls -l /usr/local/lib/libsqlite*
-rw-r--r--  1 root  wheel  602092 12  3  2011 /usr/local/lib/libsqlite3.a
-rwxr-xr-x  1 root  wheel     943 12  3  2011 /usr/local/lib/libsqlite3.la*
lrwx-rw-r--r--  1 root  wheel  602092 12  3  2011 /usr/local/lib/libsqlite3.a
-rwxr-xr-x  1 root  wheel     943 12  3  2011 /usr/local/lib/libsqlite3.la*
lrwxr-xr-x  1 root  wheel      15 12  3  2011 /usr/local/lib/libsqlite3.so@ -> libsqlite3.so.8
-rwxr-xr-x  1 root  wheel  617995 12  3  2011 /usr/local/lib/libsqlite3.so.8*

任何建议表示赞赏!

4

1 回答 1

1

我认为你可以使用类似的东西

./configure --with-sqlite3=/usr/local/lib

或者只是/usr/local告诉 ./configure 脚本 sqlite3 不在标准目录 ( /usr/lib) 中。

于 2012-07-24T11:46:00.433 回答