Subject: galeon and gnomevfs
To: None <tech-pkg@netbsd.org>
From: None <hiramatu@boreas.dti.ne.jp>
List: tech-pkg
Date: 02/09/2003 03:16:28
Running galeon fails with following message.

% galeon
/usr/orinoco/lib/vfs/modules/libhttp.so: Undefined PLT symbol "gnome_vfs_pthread_recursive_mutex_init" (symnum = 52)

I think this is caused by libgnomevfs-pthread.so doesn't linked by galeon,
and I made patch for sysutil/gnome-vfs.

==============================================================================
--- configure.orig      Sun Feb  9 02:18:17 2003
+++ configure   Sun Feb  9 02:18:54 2003
@@ -10330,7 +10330,7 @@
 
 
 
-VFS_LIBS="-lgnomevfs $XML_LIBS $OAF_LIBS $GCONF_LIBS $GLIB_LIBS"
+VFS_LIBS="-lgnomevfs -lgnomevfs-pthread $XML_LIBS $OAF_LIBS $GCONF_LIBS $GLIB_LIBS"
 VFS_LIBDIR="-L${libdir}"
 VFS_INCLUDEDIR="-I${includedir}/gnome-vfs-1.0 -I${libdir}/gnome-vfs-1.0/include $XML_CFLAGS $OAF_CFLAGS $GCONF_CFLAGS $GLIB_CFLAGS"

==============================================================================

This patch changes output of "gnome-config --libs vfs" to include -lgnomevfs-pthread.

Is this correct fix? "link libgnomevfs.so against libgnomevfs-pthread.so" is
better in this case?

----
// Hiramatsu, Yoshifumi
// hiramatu@boreas.dti.ne.jp