[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Problem regarding OpenLdap installation and Berkeley DB
- To: Frederick William Borges Pohl <frederick.pohl@oi.net.br>
- Subject: Re: Problem regarding OpenLdap installation and Berkeley DB
- From: Marco Pizzoli <marco.pizzoli@gmail.com>
- Date: Thu, 28 Apr 2011 11:21:14 +0200
- Cc: "openldap-technical@openldap.org" <openldap-technical@openldap.org>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=T7oVsckafcRweZ137i7VkIj460HFlTzwr4odgdQXX+Y=; b=IdkvE7SR2iIUnVjLACd2/TWKd7mMSpEHarYDss23cyJ9VwR3zkNAxLL7VxpBksbHiG MHVgwinIeelQEYbyoXgsXppCMw3/X78S8Ls+IWveaHL3mViv0aHqRzmvmBvp1uCbWyvu Xfp7kRfOkTic2e0avXt7yE7ohjHPoj5V7VgdQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=M/bzVCZgdgGBlUMrde+DlYTUCMTyPi9f79d7yoXLKmCSmYAErzczjz4zy2hZR1y68P Y+XNaHvs/TpTTOu9+YOmuUGyrz6jSAgalYbzH+y/Jv97VsnN8uYqrMEZkoDKaHeALSGO pX0E13cXltWMymK4qDmfrqwjlau3HT1T85lpI=
- In-reply-to: <BABD17A955DF9B45AEA8CC57B4621A166F50E5B6@VA3DIAXVS941.RED001.local>
- References: <BABD17A955DF9B45AEA8CC57B4621A166F50E5B6@VA3DIAXVS941.RED001.local>
Hi,
OpenLDAP is officially supported only with BerkeleyDB versions at
maximum equal to 5.0.x, and this particular version only since 2.4.24.
See http://www.openldap.org/lists/openldap-announce/201102/msg00000.html
You should try with the latest one available: 2.4.25
Hope this helps
Marco
On Tue, Apr 26, 2011 at 8:09 PM, Frederick William Borges Pohl
<frederick.pohl@oi.net.br> wrote:
> Hello,
>
>
>
> I am a new user to Openldap and I´ve been struggling to install on my RedHat
> box for quite some time.
>
> I´ve googled and read past messages from this forum but i´m still unable to
> solve my problem which.
>
>
>
> I have installed Berkeley Db db-5.1.25 with success but when I try to
> install openldap, I get the following error:
>
>
>
> [root@redqas01 openldap-2.4.23]# ./configure
>
> …
>
> checking db.h usability... yes
>
> checking db.h presence... yes
>
> checking for db.h... yes
>
> checking for Berkeley DB major version in db.h... 5
>
> checking for Berkeley DB minor version in db.h... 1
>
> checking if Berkeley DB version supported by BDB/HDB backends... yes
>
> checking for Berkeley DB link (default)... no
>
> configure: error: BDB/HDB: BerkeleyDB not available
>
>
>
> Searching this mailing list, I found some information regarding setting the
> LDFLAGS and CPPFLAGS for the BDB installation.
>
> So I did the following commands: (considering that the installation for the
> BDB was in the /usr/local directory)
>
>
>
> LD_LIBRARY_PATH="/usr/lib:/usr/local/lib:/usr/local/BerkeleyDB.5.1/lib:/usr/local/berkeley/lib"
>
> LDFLAGS="-L/usr/local/lib -L/usr/local/BerkeleyDB.5.1/lib
> -L/usr/local/berkeley/lib"
>
> CPPFLAGS="-I/usr/local/include -I/usr/local/BerkeleyDB.5.1/include
> -I/usr/local/berkeley/include"
>
>
>
> I checked the /usr/local/lib/ directory and the libdb-5* files are there.
>
> I also checked the /usr/local/include/ and the db.h file is also there.
>
>
>
> But I still get the same error message.
>
>
>
> Any tips?
>
>
>
> Att
>
>
>
> Frederick Pohl
>
>
--
_________________________________________
Non è forte chi non cade, ma chi cadendo ha la forza di rialzarsi.
Jim Morrison