You are not logged in.

#1 2004-09-09 19:27:10

Kalidor
Member
Registered: 2004-06-18
Posts: 80

Gnumeric, libglade & libgnomecanvas

Hi!

I've compiled Gnumeric and all packages it depends on using makepkg (on an i586).

Whenever I open certain dialogs in Gnumeric (e.g. "Format Cells"), the program crashes with the following error messages:

(gnumeric:1853): libglade-WARNING **: Could not load support for `canvas': libcanvas.so: cannot open shared object file: No such file or directory

(gnumeric:1853): libglade-WARNING **: unknown widget class 'GnomeCanvas'

(gnumeric:1853): Gtk-WARNING **: gtk_scrolled_window_add(): cannot add non scrollable widget use gtk_scrolled_window_add_with_viewport() instead

(gnumeric:1853): libglade-WARNING **: unknown widget class 'GnomeCanvas'

.
.
.

libgnomecanvas is installed, the required library libcanvas.so resides in /opt/gnome/lib/libglade/2.0/.
"ldd /opt/gnome/bin/gnumeric" shows
libgnomecanvas-2.so.0 => /opt/gnome/lib/libgnomecanvas-2.so.0 (0x4070e000)

What do I have to do so that libglade finds it?


Greetings
Kalidor

Offline

#2 2004-09-11 08:49:51

Kalidor
Member
Registered: 2004-06-18
Posts: 80

Re: Gnumeric, libglade & libgnomecanvas

I thought it had something to do with my i586 setup, but was mistaken. It doesn't work with the pre-compiled packages on an i686 either.

By the way, I've got /opt/gnome/lib in /etc/ld.so.conf, but this doesn't help.

Offline

#3 2004-09-11 11:22:22

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: Gnumeric, libglade & libgnomecanvas

works for me

is your system -Suy? (especially glade and gnumeric + dependences)


The impossible missions are the only ones which succeed.

Offline

#4 2004-09-11 12:15:22

Kalidor
Member
Registered: 2004-06-18
Posts: 80

Re: Gnumeric, libglade & libgnomecanvas

Yes it is, apart from gcc (still using v3.4.1).

I've found out that putting symbolic links for libcanvas.so and libgnome.so into /usr/lib partly solves the problem.

Now I'm still getting errors like this one:

(gnumeric:1598): libglade-WARNING **: could not find `gnome' init function: `glade_module_register_widgets': /usr/lib/libgmodule-2.0.so.0: undefined symbol: glade_module_register_widgets

Offline

#5 2004-09-11 15:49:25

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: Gnumeric, libglade & libgnomecanvas

Kalidor wrote:

Yes it is, apart from gcc (still using v3.4.1).

I've found out that putting symbolic links for libcanvas.so and libgnome.so into /usr/lib partly solves the problem.

Now I'm still getting errors like this one:

(gnumeric:1598): libglade-WARNING **: could not find `gnome' init function: `glade_module_register_widgets': /usr/lib/libgmodule-2.0.so.0: undefined symbol: glade_module_register_widgets

check your  /etc/ld.so.conf file ... it should contain all paths needed - and for gnome apps, at minimum this:

/opt/gnome/lib

and remember after editing to run ldconfig


The impossible missions are the only ones which succeed.

Offline

#6 2004-09-11 16:02:49

Kalidor
Member
Registered: 2004-06-18
Posts: 80

Re: Gnumeric, libglade & libgnomecanvas

These are the contents of ld.so.conf:

/usr/X11R6/lib
/opt/qt/lib
/opt/gnome/lib

And this is Gnome part of the output of ldconfig -v:

/opt/gnome/lib:
        libgsf-gnome-1.so.1 -> libgsf-gnome-1.so.1.9.1
        libgsf-1.so.1 -> libgsf-1.so.1.9.1
        libgnomeprintui-2-2.so.0 -> libgnomeprintui-2-2.so.0.1.0
        libgnomeprint-2-2.so.0 -> libgnomeprint-2-2.so.0.1.0
        libgnomeui-2.so.0 -> libgnomeui-2.so.0.600.1
        libgnome-keyring.so.0 -> libgnome-keyring.so.0.0.0
        libbonoboui-2.so.0 -> libbonoboui-2.so.0.0.0
        libgnome-2.so.0 -> libgnome-2.so.0.600.1
        libgnomevfs-2.so.0 -> libgnomevfs-2.so.0.600.1
        libgconf-2.so.4 -> libgconf-2.so.4.1.0
        libbonobo-2.so.0 -> libbonobo-2.so.0.0.0
        libbonobo-activation.so.4 -> libbonobo-activation.so.4.0.0
        libORBit-imodule-2.so.0 -> libORBit-imodule-2.so.0.0.0
        libORBitCosNaming-2.so.0 -> libORBitCosNaming-2.so.0.0.0
        libORBit-2.so.0 -> libORBit-2.so.0.0.0
        libgnomecanvas-2.so.0 -> libgnomecanvas-2.so.0.600.1

Still doesn't work. :-(

Offline

#7 2004-11-13 14:53:50

Kalidor
Member
Registered: 2004-06-18
Posts: 80

Re: Gnumeric, libglade & libgnomecanvas

I just found out that adding the line

/opt/gnome/lib/libglade/2.0

in /etc/ld.so.conf solves matters. Is this normal?

Offline

Board footer

Powered by FluxBB