Results 1 to 4 of 4
I am currently trying to install OpenLDAP 2.3.17. Everything appeared to be going OK until it attempt to find Berkeley DB and then it says that Berkeley db is not ...
- 01-26-2006 #1Just Joined!
- Join Date
- Jan 2006
- Posts
- 13
LDAP configure not recognizing Berkeley DB
I am currently trying to install OpenLDAP 2.3.17. Everything appeared to be going OK until it attempt to find Berkeley DB and then it says that Berkeley db is not installed. "db.h.....no"
Anyone have any idea what this means? I'm very much a newb so if I've left something out let me know.
- 01-27-2006 #2Just Joined!
- Join Date
- Jan 2006
- Posts
- 13
OK, perhaps I need to elaborate a little bit more on the tail of configure log, this is what it is telling me:
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
configure: error: BDB/HDB: BerkeleyDB not available
and the configure stops.
I checked and made sure that db.h was install in /usr/local/BerkeleyDB.4.4/include/db.h
Is there something that I need to change to make configure find this? Do I need to make a change in the system or perhaps in the arguments I pass to configure?
- 02-18-2006 #3Just Joined!
- Join Date
- Feb 2006
- Posts
- 1
OpenLDAP and BerkeleyDB
I have same problem and fix with export var.
Try this :
CPPFLAGS="-I/usr/local/BerkeleyDB.4.3/include"
export CPPFLAGS
LDFLAGS="-L/usr/local/lib -L/usr/local/BerkeleyDB.4.3/lib -R/usr/local/BerkeleyDB.4.3/lib"
export LDFLAGS
LD_LIBRARY_PATH="/usr/local/BerkeleyDB.4.3/lib"
export LD_LIBRARY_PATH
./configure
- 09-14-2007 #4Just Joined!
- Join Date
- Sep 2007
- Posts
- 1
correct procedure
Thanks
Defore: configure: error: BDB/HDB: BerkeleyDB not available
Later:
./configure
make depend
make
make install
................................


