Re: Garnome nautilus links against /usr/lib/libnautilus?
- From: Sydney Weidman <weidmans mts net>
- To: garnome-list gnome org
- Subject: Re: Garnome nautilus links against /usr/lib/libnautilus?
- Date: Sun, 15 Jun 2003 04:01:05 -0500
Sydney Weidman wrote:
G. Chris Hofmann wrote:
Sydney,
Here is what I show:
hofmann1:/usr/src/cvs/xmms$ ldd `which nautilus` | grep libnautilus
libnautilus.so.2 => /home/chris/garnome/lib/libnautilus.so.2
(0x40013000)
libnautilus-adapter.so.2 =>
/home/chris/garnome/lib/libnautilus-adapter.so.2 (0x40024000)
libnautilus-private.so.2 =>
/home/chris/garnome/lib/libnautilus-private.so.2 (0x40027000)
I would try to move that /usr/lib/libnautilus.so.0 to a temp location
and recompile nautilus, to see if that helps. Realize that I am not a
programmer in any way, but I figured I would add my $.02 on this. :)
Regards,
Chris
interesting, thank you. I'm not familiar enough with the build system to
know how the libraries get linked. Maybe nautilus-config would have
something to do with it, so here is some output:
[syd saturn nautilus-2.3.1]$ which nautilus-config
/usr/bin/nautilus-config
[syd saturn nautilus-2.3.1]$ nautilus-config --libs
-L/usr/lib -lnautilus -rdynamic -L/usr/lib -L/usr/X11R6/lib -lbonobo
-lbonobox -lbonobo-print -lgnomeprint -lgnomecanvaspixbuf -leel
-lgnomeui -lgdk_imlib -lSM -lICE -lgnome -lgnomesupport -lesd
-laudiofile -ldb1 -lgdk_pixbuf -lgnomevfs -lxml -lgconf-gtk-1 -lgconf-1
-loaf -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lnsl -lgtk -lgdk -lXi
-lXext -lX11 -lm -lgmodule -lgthread -lglib -lpthread -ldl -lrsvg
-lart_lgpl -lfreetype -lpng -lz
Perhaps I need to be substituting the garnome version of nautilus-config
when compiling? I assumed garnome would do this for me, but perhaps not.
Thanks again for you help.
Regards,
Syd.
Ok, never mind the nautilus-config stuff. We now use pkg-config which,
according to the man page:
pkg-config retrieves information about packages from spe
cial metadata files. These files are named after the pack
age, with the extension .pc. By default, pkg-config looks
in the directory prefix/lib/pkgconfig for these files; it
will also look in the colon-separated (on Windows, semi
colon-separated) list of directories specified by the
PKG_CONFIG_PATH environment variable.
My PKG_CONFIG_PATH you ask? Bien Sur!
[syd saturn syd]$ echo $PKG_CONFIG_PATH
/home/syd/garnome/lib/pkgconfig:/usr/lib/pkgconfig
Good? Bad? Who can tell?
And what of the contents of my libnautilus.pc?
--- BEGIN libnautilus.pc ---
prefix=/home/syd/garnome
exec_prefix=/home/syd/garnome
libdir=/home/syd/garnome/lib
includedir=/home/syd/garnome/include
Name: libnautilus
Description: A library to create Nautilus components
Version: 2.3.1
Requires: eel-2.0 bonobo-activation-2.0 libbonobo-2.0 libbonoboui-2.0
Libs: -L${libdir} -lnautilus
Cflags: -I${includedir}
--- END libnautilus.pc ---
All of these things and I *still* get the dreaded
"nautilus: relocation error: /usr/lib/libnautilus.so.0: undefined
symbol: TC_string_struct" when trying to start nautilus.
Does this all seem on the up and up? Are there toothpicks in the
windmills of my mind?
Cheers,
Syd.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]