Operating System - HP-UX
1832276 Members
1892 Online
110041 Solutions
New Discussion

Re: LDBM not found during configure

 
Bosco Tsang
Valued Contributor

LDBM not found during configure

I am trying to install OpenLDAP which will require LDBM as backend. I have BerkeleyDB.4.1 installed under /usr/local. However, when I run the configure on OpenLDAP, it will give me the following messages. Anyone knows why? and How can I fix it?

...
checking for db.h... yes
checking for Berkeley DB link (default)... no
checking for Berkeley DB link (-ldb)... no
checking for Berkeley DB link (-ldb4)... no
checking for Berkeley DB link (-ldb3)... no
checking for Berkeley DB link (-ldb2)... no
checking for Berkeley DB link (-ldb1)... no
checking for MDBM library... checking for mdbm_set_chain... no
checking for mdbm_set_chain in -lmdbm... no
no
checking for mdbm.h... no
checking for db... no
checking for GDBM library... checking for gdbm_open... no
checking for gdbm_open in -lgdbm... no
no
checking for gdbm.h... no
checking for db... no
configure: warning: could not find suitable LDBM backend
configure: error: select appropriate LDBM options or disable
1 REPLY 1
Jordan Bean
Honored Contributor

Re: LDBM not found during configure


Hi. Did you ever figure this out?

I'm working on a different issue (linking db-4.1.24 to PERL 5.8.0), but came across this post in my search for assistance.

I have a question regarding where it is installed on your system. Did you let it install in the default location of /usr/local/BerkeleyDB.4.1? Or did you override that with --prefix=/usr/local, which means the library would be at /usr/local/lib/libdb.4.1.sl?

Can you tell if OpenLDAP's autoconf is looking for libraries in /usr/local/lib and if it is possible to instruct it to also look in /usr/local/BerkeleyDB.4.1?