GTK-2.0 issues on Debian 64bit in several 32bit applications

Everything about X, Gnome, KDE, ... and everything running on it

GTK-2.0 issues on Debian 64bit in several 32bit applications

Postby radant » 2011-06-09 08:14

I'm having troubles with several applications that need ia32-libs-gtk or similar libraries. Even if everything seems to be working, running app from console discovers some gtk related issues. I know it has been discussed on some topics already but none of them seem to provide solution for all applications. Pls could someone try to look at these error messages and try to figure out what might be causing it?

So far it seems the gtk issues are present when running firefox (the 64bit version from ubuntu was used), skype and IBM Lotus Notes (which is also not 64bit native, was repackaged, works, but has UI issues like skype and firefox).

Code: Select all
~$ firefox
Gtk-Message: Failed to load module "canberra-gtk-module": /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so: wrong ELF class: ELFCLASS64
*** NSPlugin Viewer  *** WARNING: unhandled variable 18 (<unknown variable>) in NPN_GetValue()

(npviewer.bin:8869): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: wrong ELF class: ELFCLASS64

(npviewer.bin:8869): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: wrong ELF class: ELFCLASS64

(npviewer.bin:8869): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: wrong ELF class: ELFCLASS64

(npviewer.bin:8869): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: wrong ELF class: ELFCLASS64
*** NSPlugin Viewer  *** WARNING: unhandled variable 18 (<unknown variable>) in NPN_GetValue()
*** NSPlugin Viewer  *** WARNING: unhandled variable 18 (<unknown variable>) in NPN_GetValue()
*** NSPlugin Viewer  *** WARNING: unhandled variable 18 (<unknown variable>) in NPN_GetValue()


etc. - the messages keep appearing e.g. when a new tab is opened.

Code: Select all
~$ skype
Gtk-Message: Failed to load module "canberra-gtk-module": /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so: wrong ELF class: ELFCLASS64

(<unknown>:9664): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: wrong ELF class: ELFCLASS64

(<unknown>:9664): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: wrong ELF class: ELFCLASS64

(<unknown>:9664): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: wrong ELF class: ELFCLASS64

(<unknown>:9664): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: wrong ELF class: ELFCLASS64

(<unknown>:9664): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: wrong ELF class: ELFCLASS64

(<unknown>:9664): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: wrong ELF class: ELFCLASS64


The same messages appear when IBM Lotus notes are opened.

It seems that the apps are trying to use 64bit libs instead of 32bit - the correct libraries are present at /usr/lib32/gtk-2.0/2.10.0/engines/ and /usr/lib32/gtk-2.0/modules

Is there a way how to 'force' an application to use the correct path? Or is there any other missconfiguration or issue I am unable to see at the moment?

Thank you very much in advance for all your help.
debian 64bit | wheezy | gnome
radant
 
Posts: 8
Joined: 2011-06-09 07:56
Location: CZE

Re: GTK-2.0 issues on Debian 64bit in several 32bit applicat

Postby bw123 » 2011-06-09 21:15

radant wrote:Is there a way how to 'force' an application to use the correct path? Or is there any other missconfiguration or issue I am unable to see at the moment?


There might be a way, but if an app is telling you it doesn't find the proper library, then it's probably either not installed correctly or it is finding something in the lib it doesn't like. Why not use a 32 bit kernel for apps built for 32 bit libs, debian packages for debian, and ubunto packages on ubuntu?
User avatar
bw123
 
Posts: 3786
Joined: 2011-05-09 06:02

Re: GTK-2.0 issues on Debian 64bit in several 32bit applicat

Postby radant » 2011-06-10 09:15

ubuntu package was used just because the build exists there - that is not the issue, I can use a package from mozilla and it will act the same way.
could you please suggest what could I try - you wrote there might be a way, it could tell me whether it is really an issue with 32bit libs or its caused by something different.
Is there also another way how to run 32 bit app on 64bit system?
debian 64bit | wheezy | gnome
radant
 
Posts: 8
Joined: 2011-06-09 07:56
Location: CZE

Re: GTK-2.0 issues on Debian 64bit in several 32bit applicat

Postby radant » 2011-06-11 17:01

I just find out what is generating these errors - they appear everytime the flash is used (no matter what applicaion or browser is running it). I was trying to install 32bit flash instead of buggy 64bit and something went wrong probably.

Please do you have any reference for installing 32bit flash on 64bit system correctly?
debian 64bit | wheezy | gnome
radant
 
Posts: 8
Joined: 2011-06-09 07:56
Location: CZE

Re: GTK-2.0 issues on Debian 64bit in several 32bit applicat

Postby bw123 » 2011-06-11 17:26

radant wrote:Please do you have any reference for installing 32bit flash on 64bit system correctly?


have you tried apt-get install flashplugin-nonfree? I thnk if the 64bit browser from ubuntu is having touble the people on that forum would have more info. Not sure I understand what you're trying to do, but 32 bit apps work fine on 64 bit kernel, if they have been compiled with the headers from amd64. But as far as I know trying to run apps built with other kernels ain't going to work right, so maybe you should snag the code and build the stuff for your version?
User avatar
bw123
 
Posts: 3786
Joined: 2011-05-09 06:02

Re: GTK-2.0 issues on Debian 64bit in several 32bit applicat

Postby radant » 2011-06-13 10:36

thanks for the answer, however I was trying to explain it is not a browser related issue at all. I can install google chrome or even use iceweasel or gnome build-in browser with the same result.

The problem is flash. It works but generating errors listed above. Im sure you know that 64bit version of flash is practically unusable so the common solution is to install 32bit version of flash instead, even on whatever 64bit linux release.

Does anyone have experience with that? I would appreciate some advice. Thank you very much in advance.
debian 64bit | wheezy | gnome
radant
 
Posts: 8
Joined: 2011-06-09 07:56
Location: CZE

Re: GTK-2.0 issues on Debian 64bit in several 32bit applicat

Postby dusty_fox » 2011-06-17 01:03

It's saying that it can't load your gtk theme, which is a 64-bit clearlooks. All 32-bit gtk apps do this for me on every 64-bit linux system that I've used, but it doesn't really affect anything other than their appearance.

I've had no major problems with the 64-bit version of flash on my squeeze system so far....
(using the 270.41.19 version of the non-free nvidia driver)
dusty_fox
 
Posts: 134
Joined: 2009-05-05 06:40

Re: GTK-2.0 issues on Debian 64bit in several 32bit applicat

Postby GrandAdmiralThrawn » 2011-07-08 08:41

Hello!

I just registered here, as I have installed Debian x86_64 for the first time, running into a similar problem with Adobe Reader (32-Bit naturally).

So, the solution is to set your GTK_PATH environment variable to /usr/lib32/gtk-2.0, like export GTK_PATH="/usr/lib32/gtk-2.0"! For Adobe Reader, just edit the /usr/bin/acroread script, look for the exec ${1+"$@"} line in the LaunchBinary() section, and add a new line before it, which changes the path, export GTK_PATH="/usr/lib32/gtk-2.0" as said.

Of course, you need ia32-libs and ia32-libs-gtk installed for this to work first. For other applications you could just create launch scripts setting GTK_PATH before launching the binary you want. Not sure however how this could be done for things like browser plugins...
Image
Proud owner of a 3dfx Interactive Voodoo5 6000 AGP HiNT Rev.A-3700 prototype!
Running Debian Linux on PowerPC 970MP, ICT Loongson-2f (MIPSEL) and i486 DX4-S/100.
User avatar
GrandAdmiralThrawn
 
Posts: 3
Joined: 2011-07-08 08:32


Return to Desktop & Multimedia

Who is online

Users browsing this forum: travis_deb and 13 guests

fashionable