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

Re: openLdap2.3.17 + BDB 4.4



It might be finding the wrong db.h to match the version string.  (the
old one might be in the path before the 4.4 one, etc)


On 1/13/06, Eudes LEDUCQ <LEDUCQ@hec.fr> wrote:
> Hi,
>
> I'm not able to compile openLdap2.3.17 with berkely database4.4.
>
> What i do:
> env CPPFLAGS="-I/usr/local/Berkeley4.4/include
> -I/usr/local/openssl-0.9.7i/include"
> LDFLAGS="-R/usr/local/Berkeley4.4/lib -R/usr/local/openssl-0.9.7i/lib
> -L/usr/local/Berkeley4.4/lib -L/usr/local/openssl-0.9.7i/bin"
> ./configure --prefix=/usr/local/openLdap2.3.17/ --enable-bdb
> --enable-ldap --enable-meta --enable-crypt --without-cyrus-sasl
> --enable-ipv6=no --enable-slapd --enable-overlays
>
> The error:
>
> checking db.h usability... yes
> checking db.h presence... yes
> checking for db.h... yes
> checking for Berkeley DB major version... 4
> checking for Berkeley DB minor version... 4
> checking for Berkeley DB link (-ldb44)... no
> checking for Berkeley DB link (-ldb-44)... no
> checking for Berkeley DB link (-ldb-4.4)... yes
> checking for Berkeley DB version match... no
> configure: error: Berkeley DB version mismatch
>
> Nota: I have installed before Berkeley database 4.2 + path
>
> thx
>
>
>