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

Re: BerkleyDB 2.4.52



Hello,
 
I had the same problem on Mac OS X 10.3.2, and I solved it by doing these commands :
(I used the csh sell)

prompt# setenv CPPFLAGS -I/usr/local/BerkeleyDB/include
prompt# setenv LDFLAGS -L/usr/local/BerkeleyDB/lib
prompt# ./configure
Specify your pathes for the include and lib folders... I also have to create the symbolic link BerkeleyDB to the "real" folder of BerkeleyDB (BerkeleyDB.4.2)
 
Good luck
 
Philippe
----- Original Message -----
Sent: Monday, January 26, 2004 12:43 PM
Subject: BerkleyDB 2.4.52

Greetings,

 

I?m recent to OpenLDAP. I?ve installed BerkleyDB 4.2.52 in my Slakware Linux 9.1, the I?ve try to install OpenLDAP 2.1.25 but when I run:

 

./configure --enable-bdb-includes=/usr/local/BerkleyDB.4.2/include/ --enable-bdb-libraries=/usr/local/BerkleyDB.4.2/lib/

 

(both /usr/local/BerkleyDB.4.2/include/ and /usr/local/BerkleyDB.4.2/lib/ point to BerkleyDB 4.2.52 include and libraries files)

 

I get the following error:

 

?configure: error: BDB: BerkleyDB version incompatible?

 

Just before I get the following lines:

 

checking for db.h? yes

checking for Berkley DB link (default)? no

checking for Berkley DB link (-ldb42)? no

checking for Berkley DB link (-ldb-42)? no

checking for Berkley DB link (-ldb-4.2)? no

checking for Berkley DB link (-ldb-4-2)? no

checking for Berkley DB link (-ldb41)? no

checking for Berkley DB link (-ldb-41)? no

checking for Berkley DB link (-ldb-4.1)? no

checking for Berkley DB link (-ldb-4-1)? no

checking for Berkley DB link (-ldb-4)? no

checking for Berkley DB link (-ldb4)? no

checking for Berkley DB link (-ldb)? no

checking for Berkley DB thread support? no

checking Berkley version for BDB backend? no

configure: error: BDB: BerkleyDB version incompatible

 

Is version 4.2.52 of BerkleyDB compatible with OpenLDAP 2.1.25, or should I get another version?

 

I?d appreciate any help on this

Best regards,

Jorge Ruão (jruao@fe.up.pt)