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

Re: OpenLDAP and BDB



What OS ? Have you tried to add this to the LD_LIBRARY_PATH or even
possibly to your LD_RUN_PATH ? Make sure that you export these there
after if this is a *nix box ... on some boxes update the ld.so.conf file
I think its called can be found in /etc

Aly.

On Tue, 2003-02-18 at 20:29, Brenda Bell wrote:
> I've installed BDB 4.1.25 (downloaded from Sleepycat).  I have what
> appears to be appropriate headers and libraries in
> /usr/local/BerkeleyDB.4.1/include and /usr/local/BerkeleyDB.4.1/lib.
> 
> When I run configure for OpenLDAP 2.1.12, I get the following error:
> 
> checking for Berkeley DB link (default)... no
> checking for Berkeley DB link (-ldb4)... no
> checking for Berkeley DB link (-ldb-4)... no
> checking for Berkeley DB link (-ldb)... no
> checking for Berkeley DB link (-ldb3)... no
> checking for Berkeley DB link (-ldb-3)... no
> checking for Berkeley DB link (-ldb2)... no
> checking for Berkeley DB link (-ldb-2)... no
> checking for Berkeley DB link (-ldb1)... no
> checking for Berkeley DB link (-ldb-1)... no
> configure: error: BDB: BerkeleyDB not available
> 
> First, I tried linking the .h's to /usr/include, adding
> /usr/local/BerkeleyDB.4.1/lib to /etc/ld.so.conf and running ldconfig.
>  Got the same error.
> 
> Then, I tried setting CPPFLAGS=-I/usr/local/BerkeleyDB.4.1/include and
> LDFLAGS=-L/usr/local/BerkeleyDB.4.1/lib... and still got the same error.
> 
> The Berkeley libs directory contains libdb-4.so (linked to
> libdb-4.1.so).  I tried with and without --with-bdb-module=dynamic.
> 
> What am I doing wrong?
> 
> 
> -- 
> Brenda
> http://opensource.theotherbell.com
-- 
Aly S.P Dharshi
aly.dharshi@uleth.ca
Student and System Administrator ORS Servers

	"A good speech is like a good dress
	 that's short enough to be interesting
	 and long enough to cover the subject"