[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Having problems installing using db-2.3.16
I had this same behavior a few days ago. Don't know why /usr/local/libs
isn't being searched....
I quickly worked around the problem by adding a symlink to the library to my
GNU library directory. In my case, I installed GCC under /opt/gnu/, so I
added a link in my /opt/gnu/lib dir to the real lib. In a pinch, I suppose
you could temporarily link to the lib from your /usr/lib dir...
Not pretty, but worked. Someday I'll return to figure out why I had to. :-)
-Alan
-----Original Message-----
From: Ronald E. Fortin <ref@mesasys.com>
To: openldap-bugs@OpenLDAP.org <openldap-bugs@OpenLDAP.org>
Date: Thursday, April 08, 1999 10:58 AM
Subject: Having problems installing using db-2.3.16
>
>Hey,
>
>I'm having trouble getting OpenLDAP 1.2.1 to configure using db-2.3.16.
>
>I built db2 and installed it into the default locations of
/usr/local/include & /usr/local/lib. Running configure on then complains
>that it cannot find the Berkeley DB2 library.
>
>This is on a Linux box running Red Hat 5.1. Here's the output of the
configure script. I know I must be doing something wrong, but
>can't find anything in the documentation, the online FAQ or the
db.2.x.README file about this.
>
>Any help is approciated.
>
>./configure --with-ldbm --with-ldbm-api=db2
>loading cache ./config.cache
>checking for a BSD compatible install... /usr/bin/install -c
>checking whether build environment is sane... yes
>checking whether make sets ${MAKE}... yes
>checking for working aclocal... missing
>checking for working autoconf... missing
>checking for working automake... missing
>checking for working autoheader... missing
>checking for working makeinfo... missing
>checking configure arguments... done
>checking host system type... i586-pc-linux-gnu
>checking for a BSD compatible install... /usr/bin/install -c
>checking for ranlib... ranlib
>checking for gcc... gcc
>checking whether the C compiler (gcc ) works... yes
>checking whether the C compiler (gcc ) is a cross-compiler... no
>checking whether we are using GNU C... yes
>checking whether gcc accepts -g... yes
>checking for ld used by GCC... /usr/bin/ld
>checking if the linker (/usr/bin/ld) is GNU ld... yes
>checking for BSD-compatible nm... /usr/bin/nm -B
>checking whether ln -s works... yes
>checking for gcc option to produce PIC... -fPIC
>checking if gcc PIC flag -fPIC works... yes
>checking if gcc static flag -static works... -static
>checking if the linker (/usr/bin/ld) is GNU ld... yes
>checking whether the linker (/usr/bin/ld) supports shared libraries... yes
>checking command to parse /usr/bin/nm -B output... yes
>checking how to hardcode library paths into programs... immediate
>checking for /usr/bin/ld option to reload object files... -r
>checking dynamic linker characteristics... Linux ld.so
>checking if libtool supports shared libraries... yes
>checking whether to build shared libraries... no
>checking whether to build static libraries... yes
>checking for objdir... .libs
>creating libtool
>checking for sendmail... /usr/lib/sendmail
>checking for vi... /bin/vi
>checking for finger... /usr/bin/finger
>checking how to run the C preprocessor... gcc -E
>checking for AIX... no
>checking for POSIXized ISC... no
>checking for minix/config.h... no
>checking for gcc option to accept ANSI C... none needed
>checking for socket... yes
>checking for res_search... no
>checking for res_search in -lbind... no
>checking for res_search in -lresolv... yes
>checking for sigset in -lV3... no
>checking for kerberosIV/krb.h... no
>checking for kerberosIV/des.h... no
>checking for krb.h... no
>checking for des.h... no
>checking for pthread.h... yes
>checking for sched.h... yes
>checking POSIX thread version... final
>checking for LinuxThreads... yes
>checking for pthread_create... no
>checking for pthread_create with -kthread... no
>checking for pthread_create with -pthread... yes
>checking for sched_yield... yes
>checking for pthread_yield... no
>checking for pthread_kill... yes
>checking for pthread_detach with <pthread.h>... yes
>checking for pthread_setconcurrency... no
>checking for pthread_getconcurrency... no
>checking for thr_setconcurrency... no
>checking for thr_getconcurrency... no
>checking if pthread_create() works... yes
>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... yes
>checking if db.h is DB2... yes
>checking for Berkeley DB2... no
>configure: warning: could not find suitable LDBM backend
>configure: error: select appropriate LDBM options or disable
>[root@skinner ldap]#
>
>
>-------------------------
>Ronald E. Fortin
>ref@mesasys.com
>Mesa Systems Guild, Inc.
>60 Quaker Lane
>Warwick, RI 02886
>401-828-8500
>www.mesasys.com
>info@mesasys.com
>