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

RE: configure: error: Berkeley DB version mismatch



At 09:46 PM 9/14/2004, Tay, Gary wrote:
>It is good practice running "make distclean; make clean" b4 re-running
>"configure", this clears some cache info (config.cache?)

This doesn't apply to OpenLDAP Software.  (And since
configure is failing, there aren't yet Makefiles for
make anyways.)

>Pls try to see if it makes any difference.
>
>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 12:26 PM
>To: OpenLDAP Software List
>Subject: Re: configure: error: Berkeley DB version mismatch
>
>
>Quanah Gibson-Mount wrote:
>
>> 
>> 
>> --On Wednesday, September 15, 2004 11:10 AM +1000 Cameron Gregg
>> <cam@yak.com.au> wrote:
>> 
>>> On solaris it only gives me the first two lines below, on linux 
>>> (slackware 10), it gives me the following lines:
>>>
>>>
>>> checking for Berkeley DB link (-ldb-4.2)... yes
>>> checking for Berkeley DB version match... Berkeley DB version
>mismatch
>>>          expected: Sleepycat Software: Berkeley DB 3.3.11: (July 12,
>>> 2001)
>>>          got: Sleepycat Software: Berkeley DB 4.2.52: (December  3,
>2003)
>>> no
>>> configure: error: Berkeley DB version mismatch
>>>
>>>
>>> Why is the latest openldap looking for a version of Berkeley db that 
>>> is 3 years old?
>> 
>> 
>> If I recall correctly, this generally indicates that it found older
>> OpenLDAP libraries around that use BDB 3.3.  You need to adjust your 
>> environment variables for where to look for libraries.
>> 
>> You may (or may not) find
>> 
>> <http://www.stanford.edu/services/directory/openldap>
>> 
>> useful.
>> 
>
>Thanks. I've figured the linux problem, you are right, it pointed to an 
>old db.h
>
>on slackware 10 , /usr/include/db.h symlinks to /usr/include/db3/db.h . 
>there is also a /usr/include/db4/db.h , so I just changed the symlink 
>and all worked fine.
>
>
>I still cant work out the solaris prob..
>
>Thanks!
>CAmeron