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

Re: Incompatible version.. How come? (openldap2.2.26+bdb-4.2.52)

--On Wednesday, May 04, 2005 12:49 AM -0700 jay alvarez <ldapb0y@yahoo.com> wrote:

  I'm trying to build open ldap in my system running:

# uname -a
FreeBSD gwenever.camlann.pregi.net 5.4-RC3 FreeBSD
5.4-RC3 #1: Wed Apr 27 08:10:57 PHT 2005

I committed the following steps: (I'm installing each
software from their sources).

1. installed openssl-0.9.7g 2. installed bdb 4.2.52 2.1 added 4(four) patches available in sleepycat for this version) 3. installed heimdal-0.6.4 pointing bdb directory during configure.

4. Configured openldap-2.2.26 with:

./configure --prefix=/usr/local/openldap
--enable-wrappers --enable-spasswd --enable-passwd
and I ended up with this:

checking Berkeley DB version for BDB backend... no
configure: error: BDB/HDB: BerkeleyDB version

How come? According to openldap docs, I must use 4.2 version of Berkeley DB(latest), that's what I did. I even applied all 4 patches for that particular version of BDB (4.2.52) by running:

# patch -p0 < patch. upto patch.

You likely have an older, incompatible version of BDB on your system, which is what is generating the error. I suggest you search the list archives or read the OpenLDAP FAQ, which has answers on how to deal correctly handle this.


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

"These censorship operations against schools and libraries are stronger
than ever in the present religio-political climate. They often focus on
fantasy and sf books, which foster that deadly enemy to bigotry and blind
faith, the imagination." -- Ursula K. Le Guin