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

RE: OpenLDAP-2.0.11 and BerkeleyDB 3.3.11



Berkeley DB 3.3.11 is not yet supported by 2.0.11.  There have been some API
changes in Berkeley DB between 3.2.9 and 3.3.11 (see Berkeley DB change
log).

I suggest using BDB 3.2.9 until the problem is fixed.

Mark


> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Marco Pirovano
> Sent: Wednesday, July 25, 2001 1:52 AM
> To: openldap-software@OpenLDAP.org
> Subject: OpenLDAP-2.0.11 and BerkeleyDB 3.3.11
>
>
> Hello,
> I'm trying to compile OpenLDAP-2.0.11 with BerkeleyDB 3.3.11,
> but it fails with:
>
>    Entering subdirectory libldbm
> make[2]: Entering directory
> `/usr/local/src/Openldap/openldap-2.0.11/libraries/libldbm'
> gcc -g -O2
> -I../../include        -I../../include   -I/usr/local/BerkeleyDB/include
> -I/usr/local/ssl/include     -c -o ldbm.o ldbm.c
> ldbm.c: In function `ldbm_open':
> ldbm.c:249: structure has no member named `set_malloc'
> make[2]: *** [ldbm.o] Error 1
>
> I run configure with:
>
>   CC=gcc CPPFLAGS="-I/usr/local/BerkeleyDB/include
> -I/usr/local/ssl/include" LDFLAGS="-L/usr/local/lib
> -L/usr/local/BerkeleyDB/lib -L/usr/local/ssl/lib" ./configure
> --prefix=/usr/local/openldap-2.0.11 --with-ldbm-api=berkeley
>
> Any suggestions ?
> Thank you very much.
> Ciao,
> Marco
>
>
> * Marco Pirovano
> * Universita' Bocconi, Area Sistemi Informatici e Telematici
> * Piazza Sraffa, 15 20136 Milano - Italy
> * Phone: +39 02 5836.3173  Fax: +39 02 5836.3160
>