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

Re: configure: error: Berkeley DB version mismatch



At 06:10 PM 9/14/2004, Cameron Gregg wrote:
>Kurt D. Zeilenga wrote:
>
>>At 11:43 PM 9/13/2004, Cameron Gregg wrote:
>>
>>>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
>>
>>What was the mismatch?
>>Was the header version as you expected?
>>Was the library version as you expected?
>>Kurt 
>
>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

This implies configure found the header for 3.3.11 but
the library for 4.2.52.  You should configure your environment
so that configure finds the 4.2.52 header.

>Why is the latest openldap looking for a version of Berkeley db that is 3 years old?

configure is looking for the library version to match the
header version (and, subsequently, for that version to be
appropriate).