[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Installation Problem with BDB 4.8
- To: openldap-technical@openldap.org
- Subject: Installation Problem with BDB 4.8
- From: Rajeshwar Bharathi <rajeshwarbharathi@gmail.com>
- Date: Wed, 5 Oct 2011 18:53:59 +0530
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=h8oE37kkWhaazd9j8dsxaVYoO9VVCS3YfiLhSJoHHmM=; b=jR/I6/NC1Zetissu354ocWdVTjnbXbMTxtZZQLtPW+IJsMPwubaar4s2EhGJjavqF6 Yeu1uUnQ91ctOxqsvLJ2aMF7EW+VWyqhoTbLoKr13EbhEHBspvXiaVQEeEmbuO1J2HLH 7FCBWRCs4wVA8w/5qpjoRn3XLPAmvQE4xUWZE=
All,
I am trying to install Open LDAP 2.4.23 with Berkley DB v4.8. I am getting errors with the BDB version etc
My Server is a:
CentOS release 5.6 (Final)
2.6.18-238.19.1.el5
x86_64 GNU/Linux
The system already has older versions od BDB installed already on it.
[root@myserver]# rpm -qa|grep db4
db4-4.3.29-10.el5_5.2
db4-4.3.29-10.el5_5.2
db4-devel-4.3.29-10.el5_5.2
db4-devel-4.3.29-10.el5_5.2
To use the newly installed/supported BDB 4.8 version I use the environment flags with my consfigure and make commands
Step 1:
$env CPPFLAGS="-I/usr/local/BerkeleyDB.4.8/include/"LDFLAGS="-L/usr/local/BerkeleyDB.4.8/lib" ./configure
Step 2: $make depend
Step 3: $make
Step 1-3 goes thru fine
At Step 4: when I run make install
$make install
I get the fol erros towards the end.
make[3]: Entering directory `/u001/projects/cyrusIMAP/openldap-2.4.23/servers/slapd/back-bdb'
/bin/sh ../../../libtool --tag=disable-shared --mode=compile cc -g -O2 -I../../../include -I../../../include -I.. -I./.. -I/usr/local/BerkeleyDB.4.8/include/LDFLAGS=-L/usr/local/BerkeleyDB.4.8/lib -c init.c
cc -g -O2 -I../../../include -I../../../include -I.. -I./.. -I/usr/local/BerkeleyDB.4.8/include/LDFLAGS=-L/usr/local/BerkeleyDB.4.8/lib -c init.c -o init.o
init.c: In function 'bdb_db_open':
init.c:532: error: 'DB_READ_COMMITTED' undeclared (first use in this function)
init.c:532: error: (Each undeclared identifier is reported only once
init.c:532: error: for each function it appears in.)
make[3]: *** [init.lo] Error 1
make[3]: Leaving directory `/u001/projects/cyrusIMAP/openldap-2.4.23/servers/slapd/back-bdb'
make[2]: *** [.backend] Error 1
make[2]: Leaving directory `/u001/projects/cyrusIMAP/openldap-2.4.23/servers/slapd'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/u001/projects/cyrusIMAP/openldap-2.4.23/servers'
make: *** [all-common] Error 1
Can anyone please let me know why the init.c program is unable to open the bdb.
Any help would be appreciated.
--
Rajeshwar BM
Bangalore INDIA