/usr/lib/libglade should be /usr/lib/x86_64-linux-gnu/libglade on 64 bit multiarch

Bug #927374 reported by Karl Hegbloom
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libgnomeui (Ubuntu)
Undecided
Unassigned

Bug Description

Precise; May also affect Oneiric.

GnuCash won't work properly right now. In /tmp/gnucash.trace, I find this:

* 12:59:44 WARN <libglade> Could not load support for `gnome': libgnome.so: cannot open shared object file: No such file or directory
* 12:59:44 WARN <libglade> unknown widget class 'GnomeDruid'
* 12:59:44 WARN <GLib-GObject> invalid cast from `GtkLabel' to `GnomeDruid'
* 12:59:44 WARN <GLib-GObject> invalid cast from `GtkLabel' to `GtkContainer'

Running GnuCash under strace shows this:

access("/usr/lib/x86_64-linux-gnu/libglade/2.0/libgnome.so", F_OK) = -1 ENOENT (No such file or directory)
stat("libgnome.so", 0x7fff43812170) = -1 ENOENT (No such file or directory)
stat("libgnome.so.so", 0x7fff43812170) = -1 ENOENT (No such file or directory)
stat("libgnome.so.la", 0x7fff43812170) = -1 ENOENT (No such file or directory)
open("/usr/lib/gnucash/libgnome.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/gnucash/gnucash/libgnome.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/gnucash/gnucash/libgnome.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/gnucash/libgnome.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 23
fstat(23, {st_mode=S_IFREG|0644, st_size=185454, ...}) = 0
mmap(NULL, 185454, PROT_READ, MAP_PRIVATE, 23, 0) = 0x7f219362a000
close(23) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/tls/x86_64/libgnome.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/lib/x86_64-linux-gnu/tls/x86_64", 0x7fff43811930) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/tls/libgnome.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/lib/x86_64-linux-gnu/tls", 0x7fff43811930) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/x86_64/libgnome.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/lib/x86_64-linux-gnu/x86_64", 0x7fff43811930) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libgnome.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/lib/x86_64-linux-gnu", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
open("/usr/lib/x86_64-linux-gnu/tls/x86_64/libgnome.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/x86_64-linux-gnu/tls/x86_64", 0x7fff43811930) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/tls/libgnome.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/x86_64-linux-gnu/tls", 0x7fff43811930) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/x86_64/libgnome.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/x86_64-linux-gnu/x86_64", 0x7fff43811930) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libgnome.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/x86_64-linux-gnu", {st_mode=S_IFDIR|0755, st_size=65536, ...}) = 0
open("/lib/tls/x86_64/libgnome.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/lib/tls/x86_64", 0x7fff43811930) = -1 ENOENT (No such file or directory)
open("/lib/tls/libgnome.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/lib/tls", 0x7fff43811930) = -1 ENOENT (No such file or directory)
open("/lib/x86_64/libgnome.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/lib/x86_64", 0x7fff43811930) = -1 ENOENT (No such file or directory)
open("/lib/libgnome.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/lib", {st_mode=S_IFDIR|0755, st_size=16384, ...}) = 0
open("/usr/lib/tls/x86_64/libgnome.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/tls/x86_64", 0x7fff43811930) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libgnome.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/tls", 0x7fff43811930) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64/libgnome.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/x86_64", 0x7fff43811930) = -1 ENOENT (No such file or directory)
open("/usr/lib/libgnome.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib", {st_mode=S_IFDIR|0755, st_size=126976, ...}) = 0
munmap(0x7f219362a000, 185454) = 0
time(NULL) = 1328486718
write(4, "* 17:05:18 WARN <libglade> Coul"..., 135) = 135
time(NULL) = 1328486718
write(4, "* 17:05:18 WARN <libglade> unkn"..., 62) = 62

cd /usr/lib/x86-64-linux-gnu
sudo ln -s ../libglade .

... causes is to run flawlessly. Therefore, I conclude that the libraries that libglade2-0 are looking for don't belong in /usr/lib/libglade anymore, but in /usr/lib/x86-64-linux-gnu/libglade instead. That includes libbonoboui2-0, libgnomeui-0, libgnomecanvas2-0 (that I know of).

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: libgnomeui-0 2.24.5-2
ProcVersionSignature: Ubuntu 3.2.0-8000.2~ppa1-generic-tuxonice 3.2.2
Uname: Linux 3.2.0-8000-generic-tuxonice x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
Date: Sun Feb 5 17:17:50 2012
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110301.7)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: libgnomeui
UpgradeStatus: Upgraded to precise on 2012-01-26 (10 days ago)

Revision history for this message
Karl Hegbloom (karl.hegbloom) wrote :
Revision history for this message
Karl Hegbloom (karl.hegbloom) wrote :

See Bug #927434 on Emacs23.

Revision history for this message
Karl Hegbloom (karl.hegbloom) wrote :

Sorry; last comment was meant for a different bug report. Please disregard.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers