[Date Prev][Date Next]
RE: Trouble compiling openldap
> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Braun Brelin
> I'm running into a problem that seems to have been reported
> before, but
> no real satisfactory answer has been given.
> I'm trying to compile openldap on a Red Hat 9 system but I am having
> some problems.
> I'm trying to configure it with --with-ldbm-api=gdbm but it
> still fails
> the configure
> checking for db.h... no
> configure: error: BDB: BerkeleyDB not available
> How can I get the configure to not try and use BerkeleyDB?
If you only want to use back-ldbm you need to disable back-bdb, which is
always enabled by default in OpenLDAP 2.1:
otherwise BerkeleyDB is required.
Note that gdbm is known to have scaling issues (it loses its mind on large
databases) and back-ldbm has poor concurrency as well. Generally it's better
to stick with back-bdb.
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
Symas: Premier OpenSource Development and Support