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

RE: SuSE 8.0/openldap-2.1.17 & BerkeleyDB



Are you specifying the actual path that BerkeleyDB 4.1.25 used for its
installation? By default this is /usr/local/BerkeleyDB.4.1, not
/usr/local/BerkeleyDB. If you're not using the correct path, then of course
it won't work.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support

> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Martin Müller

> Hi!
>
>
> Im running SuSE 8.0 with a freshley installed BerkeleyDB 4.1.25 and a
> downloaded openldap-2.1.17. Im starting compiling openldap
> with ./configure
>
> After a few lines i get following error:
>
> checking for db.h... yes
> checking for Berkeley DB link (default)... no
> checking for Berkeley DB link (-ldb41)... no
> checking for Berkeley DB link (-ldb-41)... no
> checking for Berkeley DB link (-ldb-4.1)... no
> checking for Berkeley DB link (-ldb-4-1)... no
> checking for Berkeley DB link (-ldb-4)... yes
> checking for Berkeley DB thread support... yes
> checking Berkeley DB version for BDB backend... no
> configure: error: BDB: BerkeleyDB version incompatible
>
> I googled & tried several tips that i found but nothing helps.
> (like:   ./configure --with-ldbm-api=berkeley  or
>          env CPPFLAGS="-I/usr/local/BerkeleyDB/include" \
>          LDFLAGS="-L/usr/local/BerkeleyDB/lib" ./configure
> and many more...)
>
> Can you help me by this?