Re: Gnome-libs 1.2.7 configuration problem on solaris 2.7



export LDFLAGS="-L<your db lib dir> -R<your db lib dir>" when
you configure.  If you have the C++ extension compiled in
there, you'll have to hack configure to add -lstdc++ to the
LIBS variable before it checks for libdb.

This works on BerkeleyDB-2.2.7, not sure about 3.x

HTH,

Ben


From: "Nils Lohner" <lohner debian org>
To: gnome-list gnome org
Subject: Gnome-libs 1.2.7 configuration problem on solaris 2.7
Date: Thu, 26 Oct 2000 16:15:24 +0200


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.



_______________________________________________
gnome-list mailing list
gnome-list gnome org
http://mail.gnome.org/mailman/listinfo/gnome-list

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at http://profiles.msn.com.





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