checking if select yields when using pthreads... yes
checking for thread specific errno... yes
checking for thread specific h_errno... yes
checking for ctime_r... yes
checking for gethostbyname_r... yes
checking for gethostbyaddr_r... yes
checking number of arguments of ctime_r... 2
checking number of arguments of gethostbyname_r... 6
checking number of arguments of gethostbyaddr_r... 8
checking for db.h... yes
checking for Berkeley DB link (default)... no
checking for Berkeley DB link (-ldb41)... no
checking for Berkeley DB link (-ldb-41)... no
checking for Berkeley DB link (-ldb-4.1)... yes
checking for Berkeley DB thread support... yes
checking Berkeley DB version for BDB backend... no
configure: error: BDB: BerkeleyDB version incompatible
然后我去berkeleyDB网站下载了最新的DB版本 4.2.52.tar.gz
用以下命令安装
[步驟一] 安裝unix版本:
cd /usr/local/db-4.1.25.NC/build_unix
[步驟二]組態設定
../dist/configure
[步驟三]編譯
make
[步驟四]安裝
make install
然后运行openldap 的,/configure还是出现错误BerkeleyDB version incompatible