[Date Prev][Date Next]
Re: Documentation about finding correct BerkeleyDB version (ITS#3375)
You're misreading the ./configure error message. In this
test (version mismatch), it's expecting the version found in
the header to match the version in the library. It didn't find that.
The check to see whether the version found in both is appropriate
is independent. The error messages were updated in HEAD.
I've now backed ported to OPENLDAP_REL_ENG_2_2.
At 08:14 AM 10/27/2004, email@example.com wrote:
>Full_Name: Sami Lehtimäki
>Submission from: (NULL) (220.127.116.11)
>Please, clear advises about how to make OpenLDAP configure find correct version
>of Berkeley DB. Document, like http://www.openldap.org/doc/admin22/install.html
>should contain this information.
>I had a fairly new version of Berkeley DB (4.2.52) installed by distro. When
>compiling OpenLDAP, it refused to use this version and requested older (3.3.11
>version). Still all documentation about OpenLDAP states that newest version of
>BDB should be used.
>Then I tested if this problem exists if I compile BDB, but it did not help.
>Then I was changing my environment settings, to make it find this 3.3.11
>version, which should also be already installed by distro.
>I did find 3.3.11 version with command: "grep DB_VERSION_STRING
>/usr/include/db3/db.h" but I could not set environment for that BDB and always
>got the same complainment.
>Guide to set environment, to find correct BDB version should be written to
>OpenLDAP's Faq-o-matic and installation documentation. Specially as this version
>of OpenLDAP (2.2.17) did not accept newest version of BDB (4.2.52).
>Now I'm compiling BDB 3.3.11 from sources, if it would help.
>Output of configuration:
>"checking for db.h... yes
>checking for Berkeley DB link (default)... no
>checking for Berkeley DB link (-ldb42)... no
>checking for Berkeley DB link (-ldb-42)... no
>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)
>configure: error: Berkeley DB version mismatch".