32-bit gtk applications don't load modules or theme engines properly ("wrong ELF class" message)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ia32-libs (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: ia32-libs
On a current Ubuntu Gutsy, 32-bit gtk applications look for theme engines where the 64-bit libraries are located, meaning they fail to load themes. Applications generally work, but they don't look right. In theory it affects things other than themes, but I haven't personally seen it. Also, the following message is produced:
(test:15581): Gtk-WARNING **: /usr/lib/
That information at http://
sudo ln -s /usr/lib32/
It would be nice if this symlink (or some other solution to this problem) was included in ia32-libs.
Brian Rogers THANK YOU for this. It solved all the problems with the 32-bit firefox and 32-bit thunderbird that i have here (ontop of 64bit Gutsy).
I've tested the suggestion and it works better than anything else.
Everywhere else all the suggestions are to edit the startup scripts and insert an:
export GTK_PATH= /usr/lib32/ gtk-2.0
The result is that when running a 32bit-thunderbird, whenever i try to open a pdf file, evince comes without a theme at all because the GTK_PATH points to the 32bit libraries (which obviously 64-bit evince cannot use).
The suggestion given above:
sudo ln -s /usr/lib32/ gtk-2.0/ 2.10.0 /usr/lib/ gtk-2.0/ 2.10.0/ i486-pc- linux-gnu
solved all the 64-bit and 32-bit problems i had with gtk. Without changing a SINGLE line everything works beatifully. 64-bit applications see 64-bit gtk and 32-bit applications see 32-bit gtk.
PLEASE PLEASE put this in ia32-libs. It really solves a lot of problems with gutsy.