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

RE: need LDBM ?



Thank you for responding. I am suprised that nobody else
from the mailing list did not respond.

Here is the script that I run to configure:

#!/bin/sh -x

env CPPFLAGS=-I/usr/local/BerkeleyDB/include:/usr/local/include

env LDFLAGS=-L/usr/local/BerkeleyDB/lib

LD_LIBRARY_PATH=/usr/local/BerkeleyDB/lib:/usr/local/lib
         ac_cv_func_pthread_create=no \
      ol_cv_kthread_flag=no \
      ol_cv_pthread_flag=no ol_cv_pthreads_flag=no \
      ol_cv_thread_flag=no ./configure --with-ldbm-api=db2

And here is the error message that I am getting:

checking if select yields when using pthreads... yes
checking for thread specific errno... yes
checking for DB2 library... checking for db_open in -ldb... no
no
checking for db.h... no
checking for Berkeley DB2... no
configure: warning: could not find suitable LDBM backend
configure: error: select appropriate LDBM options or disable

Please let me know how I can fix this.

Eli
> -----Original Message-----
> From:	Mª del Rocío Walias Marcos [SMTP:mrwm@tid.es]
> Sent:	Tuesday, May 23, 2000 3:10 AM
> To:	Mansournt, Eliezer (USSM - Debt Markets)
> Cc:	Openldap-Software list (E-mail)
> Subject:	Re: need LDBM ?
> 
> 
> 
> "Mansournt, Eliezer (USSM - Debt Markets)" wrote:
> 
> > While compiling LDAP .. I get this message :
> >
> > checking for db... no
> > configure: warning: could not find suitable LDBM backend
> > configure: error: select appropriate LDBM options or disable
> >
> > my LD_LIBRARY_PATH is set to
> >
> > LD_LIBRARY_PATH=/usr/local/lib
> >
> > # ls /usr/local/lib
> >
> > libgdbm.so.2.0.0
> >
> > Is there anything else that I need to set to make it work ?
> 
> Try:
> 
> export CPPFLAGS="-I/usr/local/include"
> 
> and then run ./configure.
> 
>