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

Please help: select appropriate LDBM



When I run configure (see script that I use below) I get the following:

checking for GDBM library... checking for gdbm_open... no
checking for gdbm_open in -lgdbm... no
no
checking for gdbm.h... yes
checking for db... no
configure: warning: could not find suitable LDBM backend
configure: error: select appropriate LDBM options or disable
#

My GDBM is installed in /usr/local:

# ls -l /usr/local/lib
total 4896
drwxr-xr-x   3 bin      bin          512 Nov 23 16:49 gcc-lib
-rwxr-xr-x   1 root     other      30680 Nov 24 08:06 libgdbm.so.2.0.0
-rw-r--r--   1 bin      bin       329500 Aug 22 22:22 libiberty.a
-rw-r--r--   1 bin      bin      2118660 Aug 22 22:22 libstdc++.a.2.10.0
drwxr-xr-x   4 bin      bin          512 Nov 23 16:43 perl5
# ls -l /usr/local/include
total 16
drwxr-xr-x   3 bin      bin         2560 Nov 23 16:49 g++-3
-rw-r--r--   1 bin      bin         4744 Nov 24 08:08 gdbm.h
#

This is the script that I am using to run configure:

# cat go
#!/bin/sh
env CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib
LD_LIBRARY_PATH=/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=gdbm