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

Re: Problems ./configure'ing



I got the same errors, when I compiled OpenLDAP on RedHat Linux 7
system.
But after doing the next commands 
"export CPPFLAGS=-I/usr/local/BerkeleyDB.3.1/include" 
and
"export LDFALGS=-L/usr/local//BerkeleyDB.3.1/lib",
"./configure" finished without errors.

For your information.

---
Yoshinobu Ishido

On Fri, 22 Dec 2000 12:02:56 -0800 (PST)
Erik Wright <erik@transvirtual.com> wrote:

> Hello, I'm trying to compile OpenLDAP, and I've run into a few problems.
> 
> (*admits relative linux-newbiness*)
> 
> I want to use Berkeley DB 3.1.17, and I've built and installed it
> seemingly successfully. The library is at /lib/libdb.so.3 and
> /usr/lib/libdb3.so . The header file is in /usr/include/db.h .
> 
> Nonetheless, when I run the OpenLDAP configure script, I get the following
> errors:
> 
> checking for db.h... yes
> checking for Berkeley DB link (default)... no
> checking for Berkeley DB link (-ldb)... no
> checking for Berkeley DB link (-ldb3)... no
> checking for Berkeley DB link (-ldb2)... no
> checking for Berkeley DB link (-ldb1)... no
> ..
> ..
> ..
> checking for db... no
> configure: warning: could not find suitable LDBM backend
> configure: error: select appropriate LDBM options or disable
> 
> Can someone help me with this?
> 
> - Erik
>