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

Re: Cannot install openLDAP with gdbm


With "--disable-bdb --enable-ldbm--with-ldbm-api=gdbm" options for
configure, I am able to compile openLDAP v 2.1.4.

Now, I am facing another problem when I run slapd. The check for slapd is
failing. When I enter the commond shown below, I get following output (No
such object):

$ ldapsearch -x -b 'dc=wipro,dc=com' '(objectclass=*)'
version: 2

# filter: (objectclass=*)
# requesting: ALL

# search result
search: 2
result: 32 No such object

# numResponses: 1

The slapd.conf file is as follows:
database        ldbm
suffix          "dc=dilbert,dc=wipro,dc=com"
rootdn          "cn=Manager,dc=dilbert,dc=wipro,dc=com"
rootpw          secret
directory       /usr/local/var/openldap-data
index   objectClass     eq

Thanks in davance,

----- Original Message -----
From: "Howard Chu" <hyc@symas.com>
To: "Mahavir Karnavat" <mahavir.karnavat@wipro.com>;
Sent: Wednesday, September 04, 2002 3:33 PM
Subject: RE: Cannot install openLDAP with gdbm

> Add "--disable-bdb --enable-ldbm" to your configure options. back-ldbm is
> enabled by default in OpenLDAP 2.1, back-bdb is. If you don't have
> 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
> 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


Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' and 'confidential' and intended for use only by the individual
 or entity to which it is addressed. You are notified that any use, copying 
or dissemination of the information contained in the E-MAIL in any manner 
whatsoever is strictly prohibited.