[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: BerkeleyDB version incompatible
-----Original Message-----
From: owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org] On Behalf Of Dave Horsfall
Sent: Tuesday, August 19, 2003 4:44 PM
To: OpenLDAP Software List
Subject: Re: BerkeleyDB version incompatible
On Tue, 19 Aug 2003, David Hofer wrote:
> checking for Berkeley DB link (default)... no
> 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 thread support... no
> checking Berkeley DB version for BDB backend... no
> configure: error: BDB: BerkeleyDB version incompatible
Do you have multiple versions of BDB installed? The configure script
gets confused if this is the case e.g. it doesn't find a header file
but does find a library file etc.
I found 10 versions of db.h in various directories.
> I have been pulling my hair out over this. Anyway I am using Openldap
> 2.1.22 and Berkeley DB 4.1.25, and I have used the ln -s command to
link
> BerkeleyDB with BerkeleyDB4.1, but I still get the same config error
> with Openldap.Please tell me how I am in error for the good of my
soul.
Hunt out all possible files with the name db.h/ndb.h etc, and do the
same for the libraries (libdb*.{a,so}), and do what has to be done...
********************************************************************
Same case here. Should I delete the oldest files and replace them with
the latest files?
************************************************************************
**
I only installed Berkeley DB 4.1.25, but I did configure Berkeley DB
4.1.24, then again I did not make and then make install the latter
Berkeley DB 4.1.24. I thought better of it when I found the latest
version in the ftp directory.
I looked at the configure script, then remembered why I don't like
GNU's configure scripts.
*****************************************************************
How do I alter the configure script so that it will run smoothly?
**********************************************************************
I piked out and built the thing on a "clean" box, and distributed from
there.
--
Dave Horsfall DTM VK2KFU daveh@ci.com.au Ph: +61 2 9906-7866 Fx:
9906-1556
Corinthian Engineering, Level 1, 401 Pacific Hwy, Artarmon, NSW 2064,
Australia