[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: Cannot install openLDAP with gdbm
Add "--disable-bdb --enable-ldbm" to your configure options. back-ldbm is not
enabled by default in OpenLDAP 2.1, back-bdb is. If you don't have Berkeley
DB 4 you can't use back-bdb.
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
http://www.symas.com http://highlandsun.com/hyc
Symas: Premier OpenSource Development and Support
-----Original Message-----
From: owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Mahavir D Karnavat
Hi,
I am installing the openLDAP v 2.1.4 and using gdbm for DB instead of
Bearkey DB etc..
I receive following error when O run configure:
$ ./configure --with-ldbm-api=gdbm
[snip]
checking for db.h... yes
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)... yes
checking for Berkeley DB thread support... yes
checking Berkeley DB version for BDB backend... no
configure: error: BDB: BerkeleyDB version incompatible
I have installed gdbm-1.8.0 previously with the command ;
$ rpm -ivh gdbm-1.8.0-5.src.rpm
$ls /usr/lib/libgdbm.*
/usr/lib/libgdbm.a /usr/lib/libgdbm.so /usr/lib/libgdbm.so.2.0.0
/usr/lib/libgdbm.la /usr/lib/libgdbm.so.2
$rpm -q gdbm
gdbm-1.8.0-5
Please let me if there is any problem and how to overcome this.
Thanks in advance,
Mahavir