Hi,
OpenLDAP 2.4 support db version >= 4.4
For details: http://www.openldap.org/doc/admin24/appendix-recommended-versions.html
You have to install db manually from oracle.
Here is my installation procedure. Please change prefix as you wish.
cd /root/
wget http://download.oracle.com/berkeley-db/db-4.7.25.tar.gz
tar zxvf db-4.7.25.tar.gz
cd db-4.7.25
You have to install patches for stability issues.
wget http://www.oracle.com/technology/products/berkeley-db/db/update/4.7.25/patch.4.7.25.1
wget http://www.oracle.com/technology/products/berkeley-db/db/update/4.7.25/patch.4.7.25.2
wget http://www.oracle.com/technology/products/berkeley-db/db/update/4.7.25/patch.4.7.25.3
wget http://www.oracle.com/technology/products/berkeley-db/db/update/4.7.25/patch.4.7.25.4
patch -p0 < patch.4.7.25.1
patch -p0 < patch.4.7.25.2
patch -p0 < patch.4.7.25.3
patch -p0 < patch.4.7.25.4
cd build_unix/
../dist/configure --prefix=/usr/local/db4
make
make install
wget ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-2.4.20.tgz
tar zxvf openldap-2.4.20.tgz
cd openldap-2.4.20
export CPPFLAGS="-I/usr/local/db4/include"
export LDFLAGS="-L/usr/local/db4/lib -R/usr/local/db4/lib"
export LD_LIBRARY_PATH=/root/db-4.7.25/build_unix/.libs
./configure --with-whatever-your-options
make
make install
Hello all,I've recently installed OpenLDAP 2.4.21 on a couple of Debian servers but I ran into problems while trying to install on some RHEL5 servers:checking db.h usability... yeschecking db.h presence... yeschecking for db.h... yeschecking for Berkeley DB major version in db.h... 4checking for Berkeley DB minor version in db.h... 3checking if Berkeley DB version supported by BDB/HDB backends... noconfigure: error: BerkeleyDB version incompatible with BDB/HDB backendsIt seems that it doesn't like Red Hat's shipped version of Berkeley DB (Version: 4.3.29). I installed it via yum (yum install db4-devel). How can I get around this problem?Thanks a lot,
--
Diego Lima