Comment 18 for bug 781870

Revision history for this message
Jesse Glick (jesse-glick) wrote :

Possibly related: if you download JDK 6u29 or 7u1 from java.sun.com and pick the 32-bit version (.tar.gz), with ia32-libs-multiarch:i386 and thus ia32-libs installed, and run .../jdk/bin/java -jar .../jdk/demo/jfc/SwingSet2/SwingSet2.jar, then from the Look & Feel menu select GTK, you get errors on console

/usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so: wrong ELF class: ELFCLASS64
(java:12345): Gtk-WARNING **: Failed to load type module: /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so

though they do not seem to be fatal. Overriding GDK_PIXBUF_MODULE_FILE does not help. strace -f reveals the process trying plausible locations such as /usr/lib/i386-linux-gnu/gtk-2.0/menuproxies/libappmenu.so first, but nothing is found there, and then it finds the 64-bit lib in a generic location. This seems to be a bug in the appmenu-gtk package. Bug #783155 and bug #783073 seem related.