我在配置OPENLDAP 2.4.35。在Redhat Linux上,我已經安裝了Berkley DB 4.8.30作爲先決條件。我還檢查版本兼容性從OpenLDAP的README文件,該文件說:配置LDAP時發生Berkeley DB不匹配錯誤
SLAPD:
BDB and HDB backends require Oracle Berkeley DB 4.4 - 4.8,
or 5.0 - 5.1. It is highly recommended to apply the
patches from Oracle for a given release.
我依然收到此錯誤:
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for Berkeley DB major version in db.h... 4
checking for Berkeley DB minor version in db.h... 8
checking if Berkeley DB version supported by BDB/HDB backends... yes
checking for Berkeley DB link (-ldb-4.8)... yes
*checking for Berkeley DB library and header version match... no
configure: error: Berkeley DB version mismatch*
請幫助
http://stackoverflow.com/questions/3848064/openldap-installation-not-finding-the-berkelydb?rq=1 –
@PiotrWadas我已經看到了這個鏈接。這是不同的。在這裏它根本無法找到伯克利數據庫。在我的情況下,它正確地定位數據庫,但顯示「不匹配錯誤」 –