[Date Prev][Date Next]
Re: Berkeley DB 4.0.14 and openldap 2.1.3
I try to configure openldap 2.1.3 with Berkeley DB 4.0.14 and get BerkeleyDB
version incompatible. Helps are apprciated:
1) Berkeley DB configuration: (works with OpenLDAP 2.0.23 and 2.0.25)
export JAVA_HOME and PATH (using jdk1.4)
../dist/configure --prefix=/data/db-4.0.14 --enable-dynamic --enable-java
make then make install
2) The following configurations work with OpenLdap 2.0.23 and 2.0.25, but
not with 2.1.x (either 2.1.2 or 2.1.3)
./configure --prefix=/data/openldap-xxx --srcdir=/directory of
error: BerkeleyDB version incompatible
I search for header places and found they are in srcdir /include and
/usr/include/db1 and /usr/include/db2. Do I need to specify CPPFLAGS and
LDFLAGS. Experts of OpenLdap installers please help.
----- Original Message -----
From: "Olivier SALAUN" <firstname.lastname@example.org>
To: "BaTien Duong" <email@example.com>
Sent: Friday, July 12, 2002 1:41 AM
Subject: Re: Berkeley DB 4.0.14 and openldap 2.1.3
> BaTien Duong wrote:
> > I search the archive and found your message.
> > I run on RedHat Linux and have a problem of imcompatible Berkeley DB.
> > Could you give me details of your configure for Berkeley DB and
> > openldap. Thanks
> you are also using openldap 2.1.x ? for berkeley db:
> on the source dir:
> cd build_unix
> make; make install
> It will copy the libs and the header files in /usr/lib/Berkeley.4..../ I
> I have copied the files of the "lib" directory in "/usr/lib" and the
> files of the "include" directory in "/usr/include".
> I am not sure this is the best method but it worked...
> for openldap I put no specific options... only the things I need:
> kpasswd... sasl...
> Olivier SALAUN