Gnome-libs 1.2.7 configuration problem on solaris 2.7



Hello...

I have a problem compiling gnome-libs 1.2.7 on solaris because of
configure: error: Your db library is missing db 1.85 compatibility mode

I've recompiled db-3.1.17 with 
./configure --enable-compat185 --enable-shared
  but the configure case still fails, and the only symbol I see in the .so 
is
/sup/lib > ll libdb*
-rw-r--r--   1 lohner   tag           650 Oct 22 17:34 libdb-3.1.la
-rwxr-xr-x   1 lohner   tag        584097 Oct 22 17:34 libdb-3.1.so*
lrwxrwxrwx   1 lohner   tag            12 Oct 22 17:34 libdb-3.so -> 
libdb-3.1.so*
lrwxrwxrwx   1 lohner   tag            12 Oct 22 17:34 libdb.so -> 
libdb-3.1.so*
/sup/lib > nm libdb-3.1.so | grep dbopen
00029ff8 T __db_dbopen


The system etc are:

SunOS topaze 5.7 Generic_106541-02 sun4u sparc SUNW,Ultra-5_10
/sup/build/t > ld --version
GNU ld 2.9.1
Copyright 1997 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
  Supported emulations:
   elf32_sparc
/sup/build/t > gcc --version
2.95.2

I have the libdb in /sup/lib and that's in the LD_LIB_PATH before /usr/ucblib
Someone suggested modifying the testcase to use #include <db_185.h> rather
than extern char * dbopen();   but that gives dbtest.c:10: too few
arguments to function `__db185_open'

Any suggestions/answers?  Please keep me in copy; I'm not subscribed.

Thanks,
Nils.






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