Re: help compiling gnome-vfs-2.18.1
- From: "John Goulah" <jgoulah gmail com>
- To: gnome-vfs-list gnome org
- Subject: Re: help compiling gnome-vfs-2.18.1
- Date: Sat, 5 Apr 2008 11:51:28 -0400
On Tue, Apr 1, 2008 at 12:46 AM, Hans Petter Jansson <hpj novell com> wrote:
> On Sun, 2008-03-30 at 21:54 -0400, John Goulah wrote:
> > I'm trying to get gnome-vfs installed, I have the apt installed glib
> > in /usr/local and my compiled glib-2.14.5 in /usr/local/lib -- I want
> > it to use the latter, how do I force that? I'm getting:
>
> Try:
>
> export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
> export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
>
> And then configure, clean and make gnome-vfs anew. This pkg-config
> mechanism is not unique to gnome-vfs, btw - you'll find most
> GNOME-related packages use it.
>
Hi, thanks for the advice.. I'm still getting an error, probably b/c
its trying to link both glib in /usr and /usr/local :
gcc -g -O2 -o .libs/gnome-vfs-daemon dbus-utils.o vfs-daemon.o
daemon-connection .o -pthread -L/cuttingedge/lib -L/usr/local/lib
-L/cuttingedge//lib ../libgnome vfs/.libs/libgnomevfsdaemon-2.a
/cuttingedge//lib/libhal-storage.so /cuttingedge //lib/libhal.so
/home/jgoulah/gnome-vfs-2.18.1/libgnomevfs/.libs/libgnomevfs-2.s o
../libgnomevfs/.libs/libgnomevfs-2.so /usr/lib/libgconf-2.so
/usr/lib/libORBit -2.so /usr/lib/libgmodule-2.0.so
/usr/lib/libgobject-2.0.so /usr/lib/libgthread- 2.0.so
/usr/lib/libglib-2.0.so -lm /usr/local/lib/libgmodule-2.0.so -ldl
/usr/lo cal/lib/libgthread-2.0.so -lpthread /usr/lib/libxml2.so
/usr/local/lib/libdbus-g lib-1.so -lnsl -ldbus-1
/usr/local/lib/libgobject-2.0.so -lssl -lcrypto /usr/lib
/libavahi-glib.so /usr/local/lib/libglib-2.0.so
/usr/lib/libavahi-common.so /usr /lib/libavahi-client.so -lresolv
-lutil -lrt -Wl,--rpath -Wl,/cuttingedge//lib
/home/jgoulah/gnome-vfs-2.18.1/libgnomevfs/.libs/libgnomevfs-2.so:
undefined ref erence to `g_once_init_leave'
/home/jgoulah/gnome-vfs-2.18.1/libgnomevfs/.libs/libgnomevfs-2.so:
undefined ref erence to `g_once_init_enter_impl'
collect2: ld returned 1 exit status
I guess what I was looking for was an env var similar to OPENSSL_LIBS,
LIBXML_LIBS, etc to explicitly force it but one for glib seems to not
exist. Any other ideas on how I can get this to build?
Thanks!
John
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]