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 に答える