[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: BDB mismatch problem



Jon Roberts wrote:

FC4
OpenLDAP 2.3.4
BDB 4.2.52 w/patches

This should be an easy issue, but I am getting stuck on configure. I installed BDB from source myself in /usr/local paths, so I have:

I know FC4 has BDB 4.3 installed in /usr/lib, but I thought this environment would override that:

setenv CC gcc
setenv CFLAGS "-O -g"
setenv CPPFLAGS "-I/usr/local/include"
setenv LDFLAGS "-L/usr/local/lib"
setenv LD_LIBRARY_PATH "/usr/local/lib"

However, on configure I'm getting:

...
checking for db.h... yes
checking for Berkeley DB link (default)... no
checking for Berkeley DB link (-ldb43)... no
checking for Berkeley DB link (-ldb-43)... no
checking for Berkeley DB link (-ldb-4.3)... yes
checking for Berkeley DB version match... Berkeley DB version mismatch
header: Sleepycat Software: Berkeley DB 4.2.52: (December 3, 2003)
library: Sleepycat Software: Berkeley DB 4.3.27: (April 25, 2005)
no
configure: error: Berkeley DB version mismatch


Hi Jon,

Please check the following link:
http://www.openldap.org/faq/data/cache/1095.html

Sam