I downloaded OpenLDAP and it said I needed the BerkeleyDB so I went and installed that and I kept getting db.h not found during ./configure. So I am able to get the db.h found by doing this:
===code===
env CPPFLAGS=-I/usr/local/BerkeleyDB.4.2/include/ -LDFLAGS=-L/usr/local/BerkeleyDB.4.2/lib ./configure
===end code===
then I get this
===code===
checking for db.h... yes
checking for Berkeley DB link (default)... no
checking for Berkeley DB link (-ldb42)... no
checking for Berkeley DB link (-ldb-42)... no
checking for Berkeley DB link (-ldb-4.2)... no
checking for Berkeley DB link (-ldb-4-2)... no
checking for Berkeley DB link (-ldb-4)... no
checking for Berkeley DB link (-ldb4)... no
checking for Berkeley DB link (-ldb)... no
checking for Berkeley DB link (-ldb41)... no
checking for Berkeley DB link (-ldb-41)... no
checking for Berkeley DB link (-ldb-4.1)... no
checking for Berkeley DB link (-ldb-4-1)... 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
===end code===
I have google searched this and tried what others have said to do (or at least i tried) to no avail. Anyone think they can help me out ? thanks ahead of time.
-Matt
===code===
env CPPFLAGS=-I/usr/local/BerkeleyDB.4.2/include/ -LDFLAGS=-L/usr/local/BerkeleyDB.4.2/lib ./configure
===end code===
then I get this
===code===
checking for db.h... yes
checking for Berkeley DB link (default)... no
checking for Berkeley DB link (-ldb42)... no
checking for Berkeley DB link (-ldb-42)... no
checking for Berkeley DB link (-ldb-4.2)... no
checking for Berkeley DB link (-ldb-4-2)... no
checking for Berkeley DB link (-ldb-4)... no
checking for Berkeley DB link (-ldb4)... no
checking for Berkeley DB link (-ldb)... no
checking for Berkeley DB link (-ldb41)... no
checking for Berkeley DB link (-ldb-41)... no
checking for Berkeley DB link (-ldb-4.1)... no
checking for Berkeley DB link (-ldb-4-1)... 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
===end code===
I have google searched this and tried what others have said to do (or at least i tried) to no avail. Anyone think they can help me out ? thanks ahead of time.
-Matt