Hello,

When trying to install OpenLDAP 2.3.42 I got an error complaining about berkely 
DB 4.3. I Googled around and found out that OpenLDAP does not like version 4.4 
so I downloaded and installed version Berkeley DB 4.5

I then tried to configure with ./configure --includedir=/usr/local/bdb4.5 
(where I installed the new version).

Still, the configure script is going to fetch my old version. So I decided to 
rename the files of the old version in /usr/lib and link the same files to the 
ones in /usr/local/bdb4.5... somehow he still thinks I am using BDB 4.3 with 
the error:
checking for Berkeley DB major version... 4
checking for Berkeley DB minor version... 3
checking for Berkeley DB link (-ldb43)... no
checking for Berkeley DB link (-ldb-43)... no
checking for Berkeley DB link (-ldb-4.3)... no
checking for Berkeley DB link (-ldb-4-3)... no
checking for Berkeley DB link (-ldb-4)... no
checking for Berkeley DB link (-ldb4)... no
checking for Berkeley DB link (-ldb)... yes
checking for Berkeley DB version match... Berkeley DB version mismatch
        header: Sleepycat Software: Berkeley DB 4.3.29: (September 12, 2006)
        library: Berkeley DB 4.5.20: (September 20, 2006)

So my question... is there any way to force the location of Berkeley DB when 
running configure?

Thank you,
Nuno

Reply via email to