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

RE: configure: error: Berkeley DB version mismatch



I found this from google related to your issue and Solaris8/9:

http://www.openldap.org/faq/data/cache/1095.html

Can u try adding the LD_LIBRARY_PATH in the "./configure" command line?
As I have mentioned this b4, as in the following example:

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 .......

Rgds
Gary

-----Original Message-----
From: Tay, Gary 
Sent: Wednesday, September 15, 2004 5:07 PM
To: 'cam@yak.com.au'; OpenLDAP Software List
Subject: RE: configure: error: Berkeley DB version mismatch


I have tried 2.2.13 (many times) and 2.2.15 (just once) on Solaris8
without issue.

Could u provide the following details for maillist users to help u:

1) full command line of "./configure" including arguments and
environment setting prefixes
2) assuming u r using /bin/sh, output of "set" to show $PATH,
$LD_LIBRARY_PATH and others, assuming u did not overwrite them in
"./configure" using "env" prefix
3) partial config.log showing the errors
4) what version of gcc are u using? (gcc -v)
5) output of "which ld" and "which make"

Rgds
Gary

-----Original Message-----
From: owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org] On Behalf Of Cameron Gregg
Sent: Wednesday, September 15, 2004 4:41 PM
To: OpenLDAP Software List
Subject: Re: configure: error: Berkeley DB version mismatch



> 
> It looks to me like it couldn't find any matching library.
> 
> I had a problem like this with OpenLDAP 2.2.15 under Solaris, but it 
> hasn't shown up so far in 2.2.17.  Usually it found the library 
> correctly running configure a second time under Solaris.
> 
> --Quanah

I tried using 2.2.17, still the same error ;-/