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

OpenLDAP and BDB



I've installed BDB 4.1.25 (downloaded from Sleepycat).  I have what
appears to be appropriate headers and libraries in
/usr/local/BerkeleyDB.4.1/include and /usr/local/BerkeleyDB.4.1/lib.

When I run configure for OpenLDAP 2.1.12, I get the following error:

checking for Berkeley DB link (default)... no
checking for Berkeley DB link (-ldb4)... no
checking for Berkeley DB link (-ldb-4)... no
checking for Berkeley DB link (-ldb)... no
checking for Berkeley DB link (-ldb3)... no
checking for Berkeley DB link (-ldb-3)... no
checking for Berkeley DB link (-ldb2)... no
checking for Berkeley DB link (-ldb-2)... no
checking for Berkeley DB link (-ldb1)... no
checking for Berkeley DB link (-ldb-1)... no
configure: error: BDB: BerkeleyDB not available

First, I tried linking the .h's to /usr/include, adding
/usr/local/BerkeleyDB.4.1/lib to /etc/ld.so.conf and running ldconfig.
 Got the same error.

Then, I tried setting CPPFLAGS=-I/usr/local/BerkeleyDB.4.1/include and
LDFLAGS=-L/usr/local/BerkeleyDB.4.1/lib... and still got the same error.

The Berkeley libs directory contains libdb-4.so (linked to
libdb-4.1.so).  I tried with and without --with-bdb-module=dynamic.

What am I doing wrong?


-- 
Brenda
http://opensource.theotherbell.com