[Pkg-openldap-devel] Bug#651700: Bug#651700: slapd: BDB library version mismatch

Quanah Gibson-Mount quanah at zimbra.com
Mon Dec 12 21:35:50 UTC 2011


--On Monday, December 12, 2011 1:29 PM -0800 Quanah Gibson-Mount 
<quanah at zimbra.com> wrote:

> --On Sunday, December 11, 2011 12:14 PM +0100 "storm66 at club-internet.fr"
> <jp.pozzi at izzop.net> wrote:
>
>> Package: slapd
>> Version: 2.4.25-4+b1
>> Severity: important
>>
>> Dear Maintainer,
>>
>> I think that the openldap package was not compiled with the last
>> version :
>> bdb_back_initialize: BDB library version mismatch: expected Berkeley DB
>> 5.1.25: (January 28, 2011) got Berkeley DB 5.1.29: (October 25, 2011).
>> slapd stopped.
>
> Actually this indicates that OpenLDAP was recompiled with the latest BDB
> version (5.1.29).  It is complaining about the fact that your database
> was created using the 5.1.25 version, and thus it refuses to start.

Ugh, nm, misread that.

OpenLDAP was compiled using 5.1.25, and the libs were updated to 5.1.29. 
OpenLDAP *must* be recompiled against 5.1.29 as well in that case.  If that 
is done, then everything will move along happily.

This is by design because Oracle/Sleepycat has made API changes in patch 
level releases before.  back-hdb/bdb *must* be compiled against the exact 
BDB library version they are linked to.  In this case, the patch level does 
matter.

--Quanah

--

Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra ::  the leader in open source messaging and collaboration





More information about the Pkg-openldap-devel mailing list