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

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)
    cd db-4.0.14/build_unix
    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)
    cd openldap-xxx
    ./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" <olivier.salaun@intranode.com>
To: "BaTien Duong" <batien.duong@dbgroups.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
> ../dist/configure
> make; make install
> It will copy the libs and the header files in /usr/lib/Berkeley.4..../ I
> think...
> 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...
> Regards,
> Olivier SALAUN