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

Re: openldap-2.3.19 with LDBM support using a an HP DS20 with Tru64 UNIX?



Quanah Gibson-Mount wrote:


--On Friday, March 17, 2006 9:42 AM +0100 Joan Cambras <jcambras@cesca.es> wrote:


Hi all,

I'm trying to build openldap-2.3.19 with LDBM support using a an HP DS20
with Tru64 UNIX and I'm getting the following error while configuring:

./configure --prefix=$PREFIX --enable-ldbm=yes
--enable-ldbm-api=berkeley \
        --enable-bdb=no --enable-hdb=no --enable-crypt=yes 2>&1 | tee
configure.log

tail configure.log
checking number of arguments of gethostbyaddr_r... 0
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for Berkeley DB major version... 1
checking for Berkeley DB minor version... 0
checking for Berkeley DB link (-ldb1)... no
checking for Berkeley DB link (-ldb-1)... no
checking for Berkeley DB link (default)... no
configure: error: could not find suitable LDBM backend

And still the libraries for LDBM are there:

/usr/lib/libdb.a
/usr/lib/libdbm.a

Any ideas?

Did you read config.log?

And I'm pretty certain BDB 1.x is not supported in OpenLDAP 2.3.20. You need BDB 4.2 or greater. I will also note that it is highly advised to use a database backend other than LDBM, given its many problems.

Any version of BDB will be accepted for use with LDBM. But there's probably some other dependency missing, and checking config.log will reveal that. Of course, it's best not to use LDBM.

--
 -- Howard Chu
 Chief Architect, Symas Corp.  http://www.symas.com
 Director, Highland Sun        http://highlandsun.com/hyc
 OpenLDAP Core Team            http://www.openldap.org/project/