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

FW: Openldap problems with BerkeleyDB



Looks like you need to tell openldap where you installed Berkeley DB.
I used this command.

Ron Wahler.




env CPPFLAGS="-I/usr/local/BerkeleyDB.4.1/include"
LDFLAGS="-L/usr/local/BerkeleyDB.4.1/lib" ./configure

> -----Original Message-----
> From: Octavio Ramirez Rojas [mailto:Octavio.Ramirez@prism.uvsq.fr]
> Sent: Thursday, July 03, 2003 7:30 AM
> To: openldap-software@OpenLDAP.org
> Subject: Openldap problems with BerkeleyDB
> 
> 
> 
> Hi,
> 
> I installed BerkeleyDB.4.1 with Unix support, I have written the
> commands:
> 
> ../dist/configure
> make
> 
> make install
> 
> make clean
> make
> 
> -----
> 
> Do you know what is the command for execute that application????
> 
> The problem is when I trying the openldap installation, I have this
> error:
> 
> 
> [root@azteca openldap-2.1.21]# ./configure
> Copyright 1998-2003 The OpenLDAP Foundation,  All Rights Reserved.
>         Restrictions apply, see COPYRIGHT and LICENSE files.
> Configuring OpenLDAP 2.1.21-Release ...
> checking host system type... i686-pc-linux-gnu
> checking target system type... i686-pc-linux-gnu
> checking build system type... i686-pc-linux-gnu
> checking for a BSD compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for mawk... mawk
> checking whether make sets ${MAKE}... yes
> checking for working aclocal... found
> checking for working autoconf... missing
> checking for db.h... no
> 
> configure: error: BDB: BerkeleyDB not available
> 
> 
> 
> Regards
> 
> Octavio RAMIREZ ROJAS
> UVSQ-PRISM
> VERSAILLES
> 
> 
>