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

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



Hello Howard,

I think it is a bug in configure because if I set "LDFLAGS=-ldb" before
configuring then it works. In fact I've seen that configure at line 30958
tries to compile a test program to check libdb.a support and fails because
its not using "-ldb" during compilation. I guess that this flag should be
automatically activated when you select --enable-ldbm.

Best regards,
Joan

-----Mensaje original-----
De: owner-openldap-bugs@OpenLDAP.org
[mailto:owner-openldap-bugs@OpenLDAP.org]En nombre de Howard Chu
Enviado el: sábado, 18 de marzo de 2006 9:27
Para: Quanah Gibson-Mount
CC: OpenLDAP-Bugs@OpenLDAP.org; Joan Cambras
Asunto: 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/