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

RE: Config Question Re BDB version

Many posts had been related to this issue.

See http://www.openldap.org/faq/data/cache/1113.html for answer.

-----Original Message-----
From: owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org] On Behalf Of Cristi
Sent: Thursday, September 30, 2004 8:26 PM
To: openldap-software@OpenLDAP.org
Subject: Re: Config Question Re BDB version

On Thu, 30 Sep 2004 13:44:31 +0200, Bengt Hammarlin
<bengt.hammarlin@mobeon.com> wrote:
> I am trying to set up 2.2.15.
> I installed Berkley DB 4.2.52 (latest) in /usr/local and then I try to

> run the config scrips as follows;
> %> ./configure
> I get the following result;
> .
> .   (lotsa removed lines...)
> .
> checking for Berkley DB link (-ldb-4.2)... yes
> checking for Berkley DB version match... no
> configure: error: Berkley DB version mismatch
> %>
> The /usr/local/include/db.h has 4.2.52 in the appropriate #defines.

See the configure.log final lines (the error with the mismatch). You
have to adjust your LDFLAGS and CFLAGS accordingly, just one of them
does not suffice. Perhaps you forgot about LDFLAGS ?