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

configure: error: Berkeley DB version mismatch



 
Hi,
 
I am installing openLDAP 2.3.28 with BerkeleyDB.4.6.
 
I have already installed BerkeleyDB.4.6
 
export CPPFLAGS="-I/usr/local/BerkeleyDB.4.6/include -I/usr/local/ssl/include/openssl"

export LDFLAGS="-L/usr/local/BerkeleyDB.4.6/lib -L/usr/local/ssl/lib"
 
./configure --enable-slapd --enable-sql --with-cyrus-sasl --enable-crypt
Configuring OpenLDAP 2.3.38-Release ...
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
.....
.....
checking for Berkeley DB major version... 4
checking for Berkeley DB minor version... 6
checking for Berkeley DB link (-ldb-4)... yes
checking for Berkeley DB version match... no
configure: error: Berkeley DB version mismatch
-------------------------------------------------------------------------------------------------------------
I have installed BerkeleyDB.4.6
Then why it is giving version mismatch error ?
Please reply
 
Thanks
Rakesh Yadav