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

Re: OpenLDAP 2.1.23 install on Slackware 9.1



Hello,
I compiled openldap 2.1.23 Berkeley DB 4.2.52 on a Slackware 9.0 system.
This was the first time I've been able to do this. It always failed as
indicated in your error messages.

This is what I used:

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

./configure --enable-bdb

/etc/ld.so.conf

/usr/local/openldap/lib
/usr/local/BerkeleyDB.4.2/lib

See this article

http://www.devshed.com/Server_Side/Administration/LDAP/LDAP2/page3.html

On Wed, 2003-12-24 at 02:30, ro0ot wrote:
> Hi,
> 
> I have Slackware 9.1 running...but I had removed db1, db2, and db3
> I installed BerkeleyDB 4.1.25 into the system (Slackware 9.1)
> Now, I begin to install openldap-2.1.23.tar.gz on the Slackware 9.1 
> system but failure
> 
> I run the following command below: -
> 
> tar xvfz openldap-2.1.23.tar.gz
> cd openldap-2.1.23
> env CPPFLAGS='-I/usr/local/BerkeleyDB.4.1/include -I/usr/local/include' 
> LDFLAGS=-L/usr/local/BerkeleyDB.4.1/lib
> ./configure --enable-ldbm --with-tls=openssl --enable-wrappers
> 
> I got this error message below during configure: -
> 
> checking for db.h... yes
> checking for Berkeley DB link (default)... no
> checking for Berkeley DB link (-ldb41)... no
> checking for Berkeley DB link (-ldb-41)... no
> checking for Berkeley DB link (-ldb-4.1)... no
> checking for Berkeley DB link (-ldb-4-1)... no
> checking for Berkeley DB link (-ldb-4)... no
> checking for Berkeley DB link (-ldb4)... 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
> 
> Regards,
> ro0ot
-- 
Kent
nasve525@regis.edu
kent@wareham.k12.ma.us

Tips:---------------------------------------------->
"OpenOffice.org ... Stops Word macro viruses DEAD!"
"Postgresql.org ... Don't 'kill -9' the postmaster"
"Technology is legislation - C. Einfeldt on OO.o discuss list"