Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 36631

Summary: glade (libgnome.so) needs a symlink (else e.g. gnome-terminal crashes)
Product: Gentoo Linux Reporter: Duraid Madina <duraid>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Duraid Madina 2003-12-28 02:49:24 UTC
I don't use the GNOME desktop but I like gnome-terminal, so I installed it and all its dependencies. This worked OK, but when I wanted to change the font gnome-terminal uses (Edit / Current Profile..) gnome-terminal would crash. I tracked this down to the installation of /usr/lib/libglade/2.0/libgnome.so as satisfying one of gnome-terminal's dependencies (glade), but this path was not in /etc/ld.so.conf - one quick fix is simply to symlink /usr/lib/libglade/2.0/libgnome.so to /usr/lib/libgnome.so 

It's unfortunate that gnome-terminal does not complain loudly when it attempts to load libgnome.so (which only happens when you try and change its configuration...) instead, it simply segfaults.


Reproducible: Always
Steps to Reproduce:
1. on a clean system, install gnome-terminal (and, of course, things it depends on)
2. run gnome-terminal
3. from the edit menu, choose 'current profile'

Actual Results:  
gnome-terminal segfaulted

Expected Results:  
brought up a configuration panel to change colors/fonts/scrolling etc


It may be significant that I don't have a "full" GNOME install, only
gnome-terminal and its dependencies.
Comment 1 Mike Gardiner (RETIRED) gentoo-dev 2003-12-29 18:32:25 UTC
I'm not quite sure how you've got gnome-terminal installed without libgnome installed, as it's a dependency of libgnomeui. Did you remove any packages locally? Please attach the output of 

qpkg -f /usr/lib/libgnome.so
qpkg -I -v libgnome

Comment 2 Duraid Madina 2003-12-29 19:48:49 UTC
Hi. All I meant was that I haven't installed a "complete GNOME desktop" if you will. At any rate, the output of the commands are:

qpkg -f /usr/lib/libgnome.so :

<nothing appears>

qpkg -I -v libgnome :

gnome-base/libgnomecanvas-2.4.0 *
gnome-base/libgnome-2.4.0 *
gnome-base/libgnomeui-2.4.0.1 *
gnome-base/libgnomeprint-2.4.2 *
gnome-base/libgnomeprintui-2.4.2 *
dev-cpp/libgnomecanvasmm-2.0.1 *
dev-cpp/libgnomemm-2.0.1 *
dev-cpp/libgnomeuimm-2.0.0 *

      To stop gnome-terminal from crashing when trying to configure it, I manually symlinked /usr/lib/libglade/2.0/libgnome.so to /usr/local/lib/libgnome.so

qpkg -f /usr/local/lib/libgnome.so also produces nothing.

    Hmmm.
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2004-01-04 07:52:13 UTC
i think obz might of wanted to see /usr/lib/libgnome-2.so rather than libgnome.so ?

anyway, try re-emerging libglade, looks like something problematic happening there. can you give the output of emerge info and also try starting gnome-terminal in an xterm and see if there are any messages on the console?

btw, the symlink trick isn't recommended, and plus, portage never installs anything in /usr/local so  if stuff breaks when you link to /usr/local, we can't help you with that.
Comment 4 foser (RETIRED) gentoo-dev 2004-04-25 11:08:00 UTC
no response, closing