[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 Jeff Leung
Sent: Tuesday, August 19, 2003 4:54 PM
To: David Hofer; openldap-software@OpenLDAP.org
Subject: Re: BerkeleyDB version incompatible
Sounds like you're not setting LDFLAGS and/or CPPFLAGS in your
environment
before configure.
What are you using for your configure command? Does it look something
like...
env CPPFLAGS=-I/usr/local/BerkeleyDB.4.1/include \
LDFLAGS=-L/usr/local/BerkeleyDB.4.1/lib \
./configure --enable-ldbm --prefix=/usr/local/openldap-2.1.22 \
--enable-monitor
***********************************************************************
Okay I did that; the same diagnostic message as below appears:
On 8/19/03 3:11a, "David Hofer" <david.hofer@earthlink.net> wrote:
>
> checking if select yields when using pthreads... yes
> checking for thread specific errno... yes
> checking for thread specific h_errno... yes
> checking for ctime_r... yes
> checking for gethostbyname_r... yes
> checking for gethostbyaddr_r... yes
> checking number of arguments of ctime_r... 2
> checking number of arguments of gethostbyname_r... 6
> checking number of arguments of gethostbyaddr_r... 8
> checking for db.h... yes
> 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
>
>
> 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.
>
>
> Sincerely,
>
> David Hofer
>
>
>
--
Jeff
// Diplomacy is the art of saying 'nice doggy'
// until you can find a rock.