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

RE: BDB 4.3 instability


I am running OpenLDAP on a paired down version of RHEL5.1.  We build
OpenLDAP and roll our own RPM due to our requirement for the PPOLICY
module and our desire to be able to pick up different OpenLDAP versions
for new features and bug fixes.  Yesterday I tried building 2.4 due to
your recommendation from another post, and got the following build

checking for Berkeley DB major version... 4
checking for Berkeley DB minor version... 3
checking for Berkeley DB link (-ldb-4.3)... yes
checking for Berkeley DB version match... yes
checking for Berkeley DB thread support... yes
checking Berkeley DB version for BDB/HDB backends... no
configure: error: BDB/HDB: BerkeleyDB version incompatible

During my investigation I discovered the FAQ about BBD 4.3 being
unstable.  I took this information to my platform/base team and we
discussed upgrading the library for all of our apps, as it's a commonly
used shared library.  They want to bring this info to RedHat and they
asked me to dig into the statement that BDB 4.3 is unstable.

I do appreciate the help and didn't intend it to come across otherwise.



-----Original Message-----
From: openldap-software-bounces+worganc=nortel.com@openldap.org
[mailto:openldap-software-bounces+worganc=nortel.com@openldap.org] On
Behalf Of Howard Chu
Sent: Tuesday, July 29, 2008 10:50 AM
To: Worgan, Craig (BVW:9T16)
Cc: Buchan Milne; openldap-software@openldap.org
Subject: Re: BDB 4.3 instability

Craig Worgan wrote:
> Buchan,
> My question is not "platform" specific.  In the OpenLDAP Software FAQ 
> there is a statement that BDB 4.3 is unstable.  I am simply asking for

> the details behind that statememt.

And Buchan was simply asking for the details behind your statement.

> In the future I will provide no
> platform related details when asking a question where they are not 
> pertinent.

Since you're the one asking for help, it's a fair guess that you're in
less of a position to judge what is or isn't pertinent than the people
on this list trying to help you.

"BDB 4.3 is unstable." That's all you need to know, the details aren't

> Craig
> -----Original Message-----
> From: Buchan Milne [mailto:bgmilne@staff.telkomsa.net]
> Sent: Tuesday, July 29, 2008 8:39 AM
> To: Worgan, Craig (BVW:9T16)
> Cc: openldap-software@openldap.org
> Subject: Re: BDB 4.3 instability
> I'm going to assume that your "vendor" is Red Hat, and that you are 
> running
> RHEL5 (based on the package version you supplied). It would really 
> help to provide this kind of information up-front when you are asking 
> specifically about "platform" issues.
> 1)Red Hat is not going to upgrade/downgrade db4 to 4.2 or 4.4 or 4.5 
> on RHEL5.
> 2)There is no reason why you should need to upgrade the system db4 
> package to build OpenLDAP, as evidenced by:
> http://staff.telkomsa.net/packages/rhel5/openldap/x86_64/
> (the 2.3 packages ship an internal db- or so, and the 2.4 
> packages ship an internal 4.6)
> Regards,
> Buchan
> On Tuesday 29 July 2008 14:11:33 Craig Worgan wrote:
>> Hi Buchan,
>> I built the OpenLDAP server myself, and it's dynamically linked to 
>> the
>> shared library libdb-4.3.so provided by db4-4.3.29-9.fc6.  My 
>> platform
>> team is actually trying to get our Linux vendor to upgrade the 
>> library
>> and they are asking for the details.  I guess if that fails I can try

>> a static build with the upgraded library, but we are in a space 
>> constrained environment and try as much as possible to use dynamic 
>> libraries.
>> Cheers,
>> Craig
>> -----Original Message-----
>> From: Buchan Milne [mailto:bgmilne@staff.telkomsa.net]
>> Sent: Tuesday, July 29, 2008 4:50 AM
>> To: openldap-software@openldap.org
>> Cc: Worgan, Craig (BVW:9T16)
>> Subject: Re: BDB 4.3 instability
>> On Tuesday 29 July 2008 01:21:57 Craig Worgan wrote:
>>> Hi,
>>> Does anyone know the specifics of the instability of BDB 4.3 (see 
>>> http://www.openldap.org/faq/data/cache/44.html)?  I run OpenLDAP on 
>>> a RedHat platform that ships with BDB 4.3
>> But, does the OpenLDAP package on that "platform" (would you not 
>> prefer to provide a version instead?) actually link to the system BDB
> 4.3 ?
>> $ rpm -q openldap-servers
>> openldap-servers-2.2.13-4
>> $ rpm -qR openldap-servers|grep db-4
>> libslapd_db-4.2.so
>> $ rpm -q --whatprovides libslapd_db-4.2.so
>> openldap-servers-2.2.13-4
>> So, it's linked to an internal copy of 4.2. BDB version may not be 
>> your biggest problem.
>> BTW: http://staff.telkomsa.net/packages/rhel4/openldap/
>> Regards,
>> Buchan

   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/