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

Can't get configure to run. (ITS#2269)

Full_Name: John R. Cox
Version: 2.1.12
OS: Gentoo Linux 2.1.12
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

I am trying to run configure to get openldap to work. As noted it is version
2.1.12 on Gentoo Linux 1.4_rc1 (latest portage updates). The system is an AMD
XP2100+ system with 512 Mb of RAM and plenty of disk space.

I have installed Berkeley db-4.1.25 from the Sleepycat site as instructed. 

I ran configure as discussed in your faq-o-matic, changing the BerkeleyDB so it
was correct.

env CPPFLAGS="-I/usr/local/BerkeleyDB.4.1/include" \
      LDFLAGS="-L/usr/local/BerkeleyDB.4.1/lib" ./configure

I get the following error messages.

checking for thread specific errno... yes
checking for thread specific h_errno... yes
checking for db.h... yes
checking for Berkeley DB link (default)... no
checking for Berkeley DB link (-ldb4)... no
checking for Berkeley DB link (-ldb-4)... no
checking for Berkeley DB link (-ldb)... yes
checking for Berkeley DB thread support... yes
checking Berkeley DB version for BDB backend... no
configure: error: BDB: BerkeleyDB version incompatible

As far as I can tell, the directory has several libdb entries. I fooled with
renaming the libraries in the directory with no change in result. These are the
files in the /usr/BerkeleyDB.4.1/lib directory:

libdb-4.1.a   libdb-4.1.so  libdb-4.so  libdb.so
libdb-4.1.la  libdb-4.a     libdb.a

I am totally mystified.

Thanks for any advice you can give me...