db 1.85 compatibity mode



I'm just emailing you to ask how to get gnome-libs-1.2.3 to compile
on Solaris.  I keep getting the following error:

checking for dbopen... no
checking for dbopen in -ldb... no
checking for dbopen in -ldb1... no
configure: error: Your db library is missing db 1.85 compatibility mode

I have db-3.0.55 with --compat185 loaded into the system:

ls -al /usr/local/lib/libdb*
  -r--r--r--   1 rcsumner users     626784 Aug 23 13:46 libdb.a

ls -al /usr/local/include/db*
  -r--r--r--   1 rcsumner users      44257 Aug 23 13:46  db.h
  -r--r--r--   1 rcsumner users       5842 Aug 23 13:46  db_185.h
  -r--r--r--   1 rcsumner users      18197 Sep 30  1999  db_cxx.h
  -rw-r--r--   1 root     other       1563 Aug 23 02:06  dbm.h


And my LD_LIBRARY_PATH is:

/usr/lib:/usr/openwin/lib:/usr/local/lib

The following is what is in my config.log:

configure:8270: checking for dbopen in -ldb
configure:8289: gcc -o conftest -g -O2 -Wall -Wunused
-I/usr/local/lib/glib/include -I/usr/local/include -I/usr/openwin/include
conftest.c -ldb  -lz -lresolv -lm  1>&5
/var/tmp/ccwBJJci.o: In function `main':
/export/home/rcsumner/builds/gnome-libs-1.2.3/configure:8285: undefined
reference to `dbopen'
collect2: ld returned 1 exit status
configure: failed program was:
#line 8278 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dbopen();

int main() {
dbopen()
; return 0; }

Any help would be greatly appreciated.  Also, please CC me directly, for
I'm not active on the gnome-list.  

-- 
Ryan C. Sumner
South Central UNIX Team Lead
Tivoli Systems
(p) 512-436-8772, (c) 512-799-6930, (e) rsumner@tivoli.com









[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]