Comment 32 for bug 369498

Revision history for this message
Tim Mann (ubuntu-tim-mann) wrote :

Just for people's information... #22 says:

> The alternative would be to add into user's or environment profile:
> export GTK_PATH=/usr/lib32/gtk-2.0:/usr/lib/gtk-2.0

I tried the above in my environment (in Jaunty), and it made acroread work but broke firefox. The 64-bit firefox 3.0.13 gives up on loading several libraries after trying only the 32-bit version, and so printing doesn't work:

Gtk-Message: Failed to load module "canberra-gtk-module": /usr/lib32/gtk-2.0/modules/libcanberra-gtk-module.so: wrong ELF class: ELFCLASS32
(firefox:28933): Gtk-WARNING **: /usr/lib32/gtk-2.0/2.10.0/engines/libglide.so: wrong ELF class: ELFCLASS32
Gtk-Message: Failed to load module "canberra-gtk-module": /usr/lib32/gtk-2.0/modules/libcanberra-gtk-module.so: wrong ELF class: ELFCLASS32
(firefox:28933): Gtk-WARNING **: /usr/lib32/gtk-2.0/2.10.0/engines/libglide.so: wrong ELF class: ELFCLASS32
(firefox:28933): Gtk-WARNING **: /usr/lib32/gtk-2.0/2.10.0/printbackends/libprintbackend-file.so: wrong ELF class: ELFCLASS32
(firefox:28933): Gtk-WARNING **: /usr/lib32/gtk-2.0/2.10.0/printbackends/libprintbackend-file.so: wrong ELF class: ELFCLASS32
(firefox:28933): Gtk-WARNING **: /usr/lib32/gtk-2.0/2.10.0/printbackends/libprintbackend-cups.so: wrong ELF class: ELFCLASS32
(firefox:28933): Gtk-WARNING **: /usr/lib32/gtk-2.0/2.10.0/printbackends/libprintbackend-cups.so: wrong ELF class: ELFCLASS32

***

Also, making the symlink described in #30 did not make acroread able to find the 32-bit canberra library. (Who builds things for "i486"?)

lrwxrwxrwx 1 root root 19 2009-08-26 12:55 /usr/lib/gtk-2.0/i486-pc-linux-gnu -> /usr/lib32/gtk-2.0/

This one did fix acroread:

lrwxrwxrwx 1 root root 19 2009-08-26 12:56 /usr/lib/gtk-2.0/i686-pc-linux-gnu -> /usr/lib32/gtk-2.0/