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

RE: configure: error: Berkeley DB version mismatch



For Solaris8/9 systems, you may also want to set LD_LIBRARY_PATH and put
the env. Vars. In the configure command line. You may also need a latest
gcc compiler and/or libgcc libraries. 

Eg:
env CC=gcc CPPFLAGS="-I/usr/local/ssl/include
-I/usr/local/BerkeleyDB.4.2/include" LDFLAGS="-L/usr/local/ssl/lib
-L/usr/local/BerkeleyDB.4.2/lib"
LD_LIBRARY_PATH=/usr/local/BerkeleyDB.4.2/lib ./configure --enable-bdb
--enable-ldbm --enable-ldap --without-threads --with-ldbm-api=berkeley
--with-ldbm-module=static --with-ldbm-type=hash --enable-crypt

My home page has HOW-Tos for beginner to follow.
http://web.singnet.com.sg/~garyttt/

Rgds
Gary

-----Original Message-----
From: owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org] On Behalf Of Stefan
Champailler
Sent: Tuesday, September 14, 2004 10:44 PM
To: cam@yak.com.au
Cc: OpenLDAP-software@OpenLDAP.org
Subject: Re: configure: error: Berkeley DB version mismatch



Well, from what I've experienced you should read carefully the
config.log 
file. I recently installed openLDAP on my Linux with so many problems
that I 
may help you if you show the log...

Stefan

> Hi all,
>
> when doing a configure for openldap i get the error:
>
> checking for Berkeley DB version match... no
> configure: error: Berkeley DB version mismatch
>
> I've googled around and but I can't seem to find a solution.
>
> BerkeleyDB4.2 is installed (with the two supplied patches)
>
> I'm using openldap 2.2.15 on solaris 8.
>
> environment variables are set:
>
> # echo $LDFLAGS
> -L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.2/lib
> # echo $CPPFLAGS
> -I/usr/local/ssl/include -I/usr/local/BerkeleyDB.4.2/include
> #
>
>
> Can anybody help?
>
> Cameron