Sorry about that. The path to BDB is correct. I made typo when I created the prefix.
When I grep for BDB _VERSION.
grep DB_VERSION_STRING /usr/local/Berkley-5.1/include/db.h #define DB_VERSION_STRING "Berkeley DB 5.1.25: (January 28, 2011)
-----Original Message----- From: Michael Ströder [mailto:michael@stroeder.com] Sent: Friday, April 29, 2011 11:30 AM To: Darouichi, Aziz Subject: Re: Problem Compiling openldap-2.4.23
Please keep responses on the mailing list.
Darouichi, Aziz wrote:
But I am using BDB 5.1.23
It seems this is not used. Maybe a typo in this path: /usr/local/Berkely-5.1 ^^ missing "e"?
Ciao, Michael.
-----Original Message----- From: Michael Ströder [mailto:michael@stroeder.com] Sent: Friday, April 29, 2011 11:20 AM To: Darouichi, Aziz Cc: openldap-technical@openldap.org Subject: Re: Problem Compiling openldap-2.4.23
Darouichi, Aziz wrote:
I installed Berkeley 5.1.25.NC in RHEL 32 when I try to compile openldap-2.4.23 using the followings.
CPPFLAGS="-I/usr/local/Berkely-5.1/include" LDFLAGS="-L/usr/local/Berkley-5.1/lib" ./configure --prefix=/opt/local
LD_LIBRARY_PATH=/usr/local/Berkley-5.1/lib , export LD_LIBRARY_PATH.
I get the error message.
checking for Berkeley DB major version in db.h... 4 checking for Berkeley DB minor version in db.h... 3 checking if Berkeley DB version supported by BDB/HDB backends... no configure: error: BerkeleyDB version incompatible with BDB/HDB backends
BDB 4.3.x should not be used because of severe issues with this version:
http://www.openldap.org/faq/data/cache/44.html
Ciao, Michael.
openldap-technical@openldap.org