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

Re: SuSE 8.0/openldap-2.1.17 & BerkeleyDB



Hi,

Martin Müller <m.mueller@hausstein.at> writes:

> 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

That is a SuSE specific problem. Have a look at /usr/include/db.h
set a link from /usr/local/BerkeleyDB.4.1/include to
/usr/include/db4.1 and change db.h to db4.1

-Dieter
 
-- 
Dieter Kluenter  | Systemberatung
Tel:040.64861967 | Fax: 040.64891521
mailto: dkluenter@schevolution.com
http://www.schevolution.com/tour