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

Re: Rép. : Re: openLdap2.3.17 + BDB 4.4



Check your include paths for the file "db.h" as mentioned here:
http://www.openldap.org/faq/data/cache/251.html

If you find your 4.2 file, possibly try moving it out of the way for
the compile.  I'm not sure what exact compiler options could make it
find that file specifically before another one that might be in the
path.  Make sure you don't have an /etc/ld.so.conf or LD_LIBRARY_PATH
that's biting you.

On 1/13/06, Eudes LEDUCQ <LEDUCQ@hec.fr> wrote:
>
> Hi,
>
> What I must doing ? I don't understand
>
> thx
>
>
> >>> matthew sporleder <msporleder@gmail.com> 01/13 4:23  >>>
> 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
> >
> >
> >
>