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

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 ?

mitu