[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Instalation problems with BDB 4.4.20
Hi,
I try to install openLDAP 2.3.20 with the backend BDB4.4.20.
I use this following commands:
#tar xvzf openldap-2.3.20.tgz
#cd openldap-2.3.20
#env
CPPFLAGS="-I/usr/local/ssl/include -I/usr/local/BerkeleyDB4.4/include -I/usr
/include"
LDFLAGS="-L/usr/local/ssl/lib -L/usr/local/BerkeleyDB4.4/lib -L/usr/lib"
./configure --with-tls --with-cyrus-sasl --with-kerberos --enable-crypt --en
able-kpasswd --enable-spasswd --enable-wrappers --enable-slurpd
#make depend
#make
#make install
After this I try to start LDAP server with "slapd -d -1" but I found these
problems:
#1) Database cannot be opened, err 22. Restore from backup!
#2) DB_ENV->lock_id_free interface requires an environment configured for
the locking subsystem
#1)To this problem I found in the WebSite this:
Berkeley DB library configured to support only DB_PRIVATE environments
----------------------------------------------------------------------
Some versions of Redhat Linux, and possibly some other Linux
distributions, include a seriously restricted build of the
Berkeley DB library that is incompatible with this module. See
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=91933 for an
exhaustive discussion on the reasons for this.
Solution:
You will have to build a private copy of the Berkeley DB library and
use it when building this Perl module.
P.s. I don't know what this means "build a private copy of the Berkeley DB
library and use it when building this Perl module."
Packages Installed:
db-4.4.20.tar.gz
openldap-2.3.20.tgz
openssl-0.9.7i.tar.gz
krb5-1.4.3-signed.tar
cyrus-sasl-1.5.28.tar.gz
#2)I didn't found anything to this problem. And I don't know what this mean.
Thks in advance
Ricardo Ferreira
ricardo.ferreira@cimsoft.pt
P.S. I've done these steps
#OPENSSL
tar -xvzf openssl-0.9.7i.tar.gz
cd openssl-0.9.7i
./config
make
make test
make install
#KERBEROS
tar -xvf krb5-1.4.3-signed.tar
tar -xvzf krb5-1.4.3.tar.gz
cd krb5-1.4.3/src/
./configure
make
make install
#BACKEND
gunzip -d db-4.4.20.tar.gz
tar -xf db-4.4.20.tar
cd db-4.4.20
cd build_unix
../dist/configure
make
make install
#CYRUS
tar -xvzf cyrus-sasl-2.1.19.tar.gz
cd cyrus-sasl-2.1.19
env CPPFLAGS="-I/usr/local/BerkeleyDB4.4/include"
LDFLAGS="-L/usr/local/BerkeleyDB4.4/lib" ./configure
make
make install
#OPENLDAP
tar xvzf openldap-2.3.20.tgz
cd openldap-2.3.20
env
CPPFLAGS="-I/usr/local/ssl/include -I/usr/local/BerkeleyDB4.4/include -I/usr
/include"
LDFLAGS="-L/usr/local/ssl/lib -L/usr/local/BerkeleyDB4.4/lib -L/usr/lib"
./configure --with-tls --with-cyrus-sasl --with-kerberos --enable-crypt --en
able-kpasswd --enable-spasswd --enable-wrappers --enable-slurpd
make depend
make
make install
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.859 / Virus Database: 585 - Release Date: 14-02-2005