Hi,

EDITED: Sorry I'm using OLDAP 2.3.27 and NOT 2.3.30
I have been working for almost a week now, trying to make OpenLDAP works on Fedora 5, with Berkely DB 4.5 at first, and then 4.4, and then 4.3. Since the beginning I get the same error:

Code:
checking for db.h... yes
checking for Berkeley DB major version... 4
checking for Berkeley DB minor version... 1
checking for Berkeley DB link (-ldb41)... no
checking for Berkeley DB link (-ldb-41)... no
checking for Berkeley DB link (-ldb-4.1)... 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
I uninstalled 4.5, and install 4.4, and uninstalled and installed 4.3, and still get the same error, it doesn't look like it see those versions because of these lines:

Code:
checking for Berkeley DB major version... 4
checking for Berkeley DB minor version... 1
checking for Berkeley DB link (-ldb41)... no
checking for Berkeley DB link (-ldb-41)... no
checking for Berkeley DB link (-ldb-4.1)... yes
I tried many options many solutions suggested in different forums, and web sites but none seemed to help me fixing it.

Some said that this may make it works:

env CPPFLAGS="-I/usr/local/include/BerkeleyDB.4.3" LDFLAGS="-L/usr/local/lib/BerkelyDB.4.3" ./configure --prefix=/usr/local/openldap --enable-aci
I tried it, and it did not work.

Can someone please, help me fixing this?

Thanks a lot in adavace.