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

Re: BDB





--On Tuesday, June 22, 2004 11:19 PM -0300 Cody Harris <hchs@ns.sympatico.ca> wrote:

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)... yes
checking for Berkeley DB thread support... yes
checking Berkeley DB version for BDB backend... no
configure: error: BDB: BerkeleyDB version incompatible
cody@vectec.net:~/downloads/openldap-2.2.13$

And I have version 4.2.52 of the BerkeleyDB from sleepy cat (is there
another place?!)


This would tend to indicate that you've installed the BDB libraries and headers in a location that is not in your compilers default search path, thus it cannot find BDB 4.2.52. You need to use the appropriate compiler flags. If you search the list archives (http://www.openldap.org), you'll find that that question has been answered a few hundred times.

You may also wish to get the two patches for BDB 4.2.52, otherwise you will immediately run into problems.

<http://www.stanford.edu/services/directory/openldap> has them, as well as other documentation you may wish to read.

--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html