[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Fw: configure and incompatible database version
Hi,
You need to specify the library location as well which, in your case,
is most probably /usr/local/BerkeleyDB.4.1/lib. And I am not sure if
configure option 'includedir' is intended to be used by the compiler
(or preprocessor to be precise).
'Admin Guide' (http://www.openldap.org/doc/admin/) suggests something
like this:
env CPPFLAGS="-I/usr/local/BerkeleyDB.4.1/include" LDFLAGS="-L/usr/local/BerkeleyDB.4.1/lib" ./configure <your-configure-options>
And you might want to read
http://www.openldap.org/doc/admin21/install.html as well.
Enjoy,
Ziya.
On 2003-07-31 14:23:18 +0000, Andrius Vilciauskas wrote:
> I tried to run configure --includedir=/usr/local/BerkeleyDB.4.1/include
>
> Messages:
> 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)... no
>
> checking for Berkeley DB link (-ldb4)... no
>
> checking for Berkeley DB link (-ldb)... yes
>
> checking for Berkeley DB thread support... yes
>
> checking Berkeley DB version for BDB backend... no
>
> configure: error: BDB: BerkeleyDB version incompatible