[Pkg-ia32-libs-maintainers] Bug#618538: Bug#618538: ia32-libs-gtk: Attempts to load x86_64 modules when i686 is needed

Julian Andres Klode jak at debian.org
Sat Oct 29 12:47:43 UTC 2011


On Thu, Mar 17, 2011 at 10:15:25PM +0100, Goswin von Brederlow wrote:
> George Chriss <gschriss at gmail.com> writes:
> 
> > Package: ia32-libs-gtk
> > Version: 20110117
> > Severity: important
> >
> >
> > When starting Firefox 4 RC1 on this system, I receive the following error messages:
> >
> > ===
> > Gtk-Message: Failed to load module "canberra-gtk-module": /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so: wrong ELF class: ELFCLASS64
> > Gtk-Message: Failed to load module "gail": /usr/lib/gtk-2.0/modules/libgail.so: wrong ELF class: ELFCLASS64
> >
> > (firefox-bin:32053): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: wrong ELF class: ELFCLASS6
> > [Repeats for a bunch of additional modules and shared libraries.]
> > ===
> >
> > Firefox runs but with a stripped-down UI and possibly other missing functionality.
> > Same behavior on Skype's 32-bit client.
> >
> > Is this a simple directory linking problem?  Possibly related to Bug #582809?
> 
> No idea.
> 
> im-modules are listed in /usr/lib32/gtk-2.0/2.10.0/immodule-files.d/,
> loaders in /usr/lib32/gtk-2.0/2.10.0/loader-files.d/. I don't see
> anything like that for engines or modules.

You need the following symlinks:
/usr/lib/gtk-2.0/2.10.0/i486-pc-linux-gnu -> /usr/lib32/gtk-2.0/2.10.0/
/usr/lib/gtk-2.0/i486-pc-linux-gnu -> /usr/lib32/gtk-2.0/

This allows gtk to find the modules correctly. Found via
     http://bugs.launchpad.net/bugs/369498

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.





More information about the Pkg-ia32-libs-maintainers mailing list