[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: Openldap problems with BerkeleyDB
Also Corey gave me this help which helped be get by another problem I had when building on AIX:
CC=/usr/vac/bin/xlc_r \
CPPFLAGS="-I/usr/local/BerkeleyDB.4.1/include -I/usr/include -I/usr/local/ssl/include" \
LDFLAGS="-lc_r -ldb -lssl -L/usr/local/BerkeleyDB.4.1/lib -L/usr/lib -L/usr/local/ssl/lib \
-Wl,-blibpath:/usr/local/BerkeleyDB.4.1/lib:/usr/lib:/usr/local/ssl/lib" \
SLAPD_DEBUG=1 MKDEP="/usr/local/src/aix433/openldap-2.1.21/build/mkdep.aix" \
./configure --prefix=/usr/local/openldap --enable-bdb --enable-crypt --mandir=/usr/local/man
make depend
make
#make breaks here on missing *.o files, run a script to fix the links
./fixlinks
make
make test
fixlinks:
#!/bin/sh
cd servers/slapd/back-bdb
sh ./linklo
The 'linklo' script builds the symbolic links I needed in the build;
ls *.lo | sed 's/\(.*\)\.lo$/ln -s & \1.o/' | sh
Thank you,
Patrick Sullivan
Centura Health
-----Original Message-----
From: Bedo Sandor [mailto:bsanyi@sunserv.kfki.hu]
Sent: Thursday, July 03, 2003 7:40 AM
To: Octavio Ramirez Rojas
Cc: openldap-software@OpenLDAP.org
Subject: Re: Openldap problems with BerkeleyDB
On Thu, Jul 03, 2003 at 03:29:52PM +0200, Octavio Ramirez Rojas wrote:
> [root@azteca openldap-2.1.21]# ./configure
> ...
> checking for db.h... no
>
> configure: error: BDB: BerkeleyDB not available
You have to install BerkleyDB first. You can
download it from
http://www.sleepycat.com/download/index.shtml
HTH
--
bSanyI
This communication is for the use of the intended recipient only. It may contain information that is privileged and confidential. If you are not the intended recipient of this communication, any disclosure, copying, further distribution or use thereof is prohibited. If you have received this communication in error, please advise me by return e-mail or by telephone and delete/destroy it.