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

Re: LDAP installation



--On Friday, December 17, 2010 6:56 PM +0100 Stefano Malini <stefano.malini@gmail.com> wrote:

i'm sorry, what do i have to write and where?

Generally, you will want to export your CPPFLAGS and LDFLAGS as part of running configure, so that it knows where to find your build of BDB. For example:

CPPFLAGS="-I /usr/local/include" LDFLAGS="-L/usr/local/lib -R/usr/local/lib" ./configure <options>

Now, if BDB is in /usr/local/bdb-4.8.26/, then you would want:

CPPFLAGS="-I/usr/local/bdb-4.8.26/include" LDFLAGS="-L/usr/local/bdb-4.8.26/lib -R/usr/local/bdb-4.8.26/lib" ./configure <options>

etc.

--Quanah

Il giorno gio, 16/12/2010 alle 13.46 -0800, Quanah Gibson-Mount ha
scritto:
--On Wednesday, December 15, 2010 12:35 PM +0100 Stefano Malini
<stefano.malini@gmail.com> wrote:

> Dear all,
>
> i'm installing OpenLdap 2.4.23 on a virtual box with linux ubuntu
> 2.4.31-14 in /usr/local/.
>
> I first succesfully installed Berkeley DB 4.8.26 always in /usr/local/
>
> My problem is launching ./configure command from OpenLDAP directory.
>
> The last lines are:
>
> checking db.h usability... no
> checking db.h presence... no
> checking for db.h... no
> configure: error: BDB/HDB: BerkeleyDB not available
>
> Could you help me, please?

Set your LDFLAGS and CPPFLAGS appropriately for your BDB installation.

--Quanah



--

Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra ::  the leader in open source messaging and collaboration





--

Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra ::  the leader in open source messaging and collaboration