vmware-server-console broken after 2.2ubuntu2

Bug #177869 reported by Andreas Schultz
20
Affects Status Importance Assigned to Milestone
gtk+2.0 (Ubuntu)
Fix Released
Undecided
Unassigned
ia32-libs (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: ia32-libs

update 2.2ubuntu2 (or earlier) broke vmware-server-console

Starting it now results in:
$ VMWARE_USE_SHIPPED_GTK=no vmware-server-console
Unable to load image-loading module: /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so: /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so: wrong ELF class: ELFCLASS64

It seems the pixbufloader tries to load the 64bit libs instead of the 32bit ones.

This has also been reported in https://bugs.launchpad.net/ubuntu/+source/ia32-libs/+bug/176653/comments/11, but it seems it got lost in the noise

Revision history for this message
C de-Avillez (hggdh2) wrote :

confirmed on 2.2ubuntu3 also.

Additionally, since 2.2ubuntu3 VMWare console fails on:

. libpixman-1.so.0
. libselinux.so.1
. libsepol.so.1

While the failure to load libpixbufloader-png.so is not fatal, the failure on the 3 libraries above causes vmware console to fail. The usual bypass is available: dowload the 3 packages for the libraries for i386, dpkg -x them, and manually copy the libraries to the correct system directories (/lib32 and /usr/lib32).

Changed in ia32-libs:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
C de-Avillez (hggdh2) wrote :

also, for those affected: the 3 libraries above are available in the following packages (current as of now for Hardy):

. libpixman-1-0_0.9.6-1_i386.deb
. libselinux1_2.0.15-2ubuntu1_i386.deb
. libsepol1_2.0.3-1_i386.deb

Revision history for this message
C de-Avillez (hggdh2) wrote :

per last comments in bug 176653 also affects flashplugin-nonfree.

Revision history for this message
C de-Avillez (hggdh2) wrote :

setting importance to high -- multiple packages affected.

Changed in ia32-libs:
importance: Medium → High
Revision history for this message
Abrahm Scully (abrahm-scully) wrote :

There are actually 3 non-fatal errors printed by vmware with ia32-libs version 2.2ubuntu3 that do not appear with version 2.1ubuntu3:
1.
Unable to load image-loading module: /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so: /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so: wrong ELF class: ELFCLASS64
2.
(vmware:12877): GdkPixbuf-CRITICAL **: gdk_pixbuf_composite: assertion `dest_x >= 0 && dest_x + dest_width <= dest->width' failed
3.
Unable to load image-loading module: /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so: /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so: wrong ELF class: ELFCLASS64

Revision history for this message
Sergio Gómez (perseo) wrote :

I detect a problem in /usr/lib32/gtk-2.0/2.10.0/loader-files.d/libgtk2.0-0.loaders and in /usr/lib32/libgdk_pixbuf-2.0.so.0.1200.3 libraries.

These libraries are searching for gtk loaders in /usr/lib/gtk-2.0/2.10.0/loaders instead of in /usr/lib32/gtk-2.0/2.10.0/loaders.

I probed this and now vmware-server-console works:

ln -s /usr/lib32 /usr/l32
sed -i -e 's/usr\/lib/usr\/l32/g' /usr/lib32/gtk-2.0/2.10.0/loader-files.d/libgtk2.0-0.loaders
sed -i -e 's/usr\/lib/usr\/l32/g' /usr/lib32/libgdk_pixbuf-2.0.so.0.1200.3

Revision history for this message
s0m31 (s0m31) wrote : Re: Solved problem with cairo-dock on Ubuntu Hardy

The same problem, but with cairo-dock running ubuntu hardy 64 with latest updates at the moment, was solved as described above. Thanx Sergio!!!

Revision history for this message
s0m31 (s0m31) wrote :

almost forgotten to say, that cairo dock bar not shown icons....

Revision history for this message
Sylvain Pasche (sylvain-pasche) wrote :

I opened a bug on gtk+2.0 for the GtkPixbuf loading issue:

https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/205223

Revision history for this message
Matthias Klose (doko) wrote :
Changed in ia32-libs:
status: Triaged → Incomplete
Revision history for this message
Bismark (bismark-foofus) wrote :

I rechecked with the attached deb and it cleaned up the wrong ELF class errors but now I'm getting this.

/usr/lib/vmware-server-console/bin/vmware-server-console: /usr/lib/vmware-server-console/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4' not found (required by /usr/lib32/libcairo.so.2)
/usr/lib/vmware-server-console/bin/vmware-server-console: /usr/lib/vmware-server-console/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib32/libcairo.so.2)
/usr/lib/vmware-server-console/bin/vmware-server-console: /usr/lib/vmware-server-console/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib32/libstdc++.so.6)
/usr/lib/vmware-server-console/bin/vmware-server-console: /usr/lib/vmware-server-console/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4' not found (required by /usr/lib32/libcairo.so.2)
/usr/lib/vmware-server-console/bin/vmware-server-console: /usr/lib/vmware-server-console/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib32/libcairo.so.2)
/usr/lib/vmware-server-console/bin/vmware-server-console: /usr/lib/vmware-server-console/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib32/libstdc++.so.6)
/usr/lib/vmware-server-console/bin/vmware-server-console: /usr/lib/vmware-server-console/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4' not found (required by /usr/lib32/libcairo.so.2)
/usr/lib/vmware-server-console/bin/vmware-server-console: /usr/lib/vmware-server-console/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib32/libcairo.so.2)
/usr/lib/vmware-server-console/bin/vmware-server-console: /usr/lib/vmware-server-console/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib32/libstdc++.so.6

Revision history for this message
Matthias Klose (doko) wrote :

please remove /usr/lib/vmware-server-console/lib/libgcc_s.so.1/libgcc_s.so.1 and recheck; vmware is just wrong to install an old copy of libgcc_s.so.1 if a newer one exists on the system.

Revision history for this message
C de-Avillez (hggdh2) wrote :

I just downloaded & installed http://people.ubuntu.com/~doko/tmp/ia32-libs_2.2ubuntu10_amd64.deb, and I still see the same GTK-2 errors when loading vmware:

Unable to load image-loading module: /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so: /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so: wrong ELF class: ELFCLASS64
Unable to load image-loading module: /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so: /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so: wrong ELF class: ELFCLASS64
Unable to load image-loading module: /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so: /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so: wrong ELF class: ELFCLASS64
Unable to load image-loading module: /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so: /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so: wrong ELF class: ELFCLASS64
Unable to load image-loading module: /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so: /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so: wrong ELF class: ELFCLASS64
Unable to load image-loading module: /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so: /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so: wrong ELF class: ELFCLASS64
...

Revision history for this message
Bismark (bismark-foofus) wrote :

I moved the libgcc file being referenced and then I received the same output that hggdh received (libpixbufloader-png.so: wrong ELF class: ELFCLASS64)

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gtk+2.0 - 2.12.9-3ubuntu2

---------------
gtk+2.0 (2.12.9-3ubuntu2) hardy; urgency=low

  * Use 32bit pixbuf loaders when running the i386 binary on amd64.
    LP: #205223, #177869, #190227.

 -- Matthias Klose <email address hidden> Fri, 18 Apr 2008 16:38:13 +0000

Changed in gtk+2.0:
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ia32-libs - 2.2ubuntu10

---------------
ia32-libs (2.2ubuntu10) hardy; urgency=low

  * Remove libnss-mdns, recommend lib32nss-mdns. LP: #218097.
  * Add gtk2-engines-murrine. LP: #215488.
  * debian/pango.modules: Update.
  * /usr/lib32/gtk-2.0/2.10.0/*.d/*: Search in /usr/lib32.
    LP: #162993, #177869, #190227, #202448.
  * Freshen packages (including fixed gtk+2.0).

 -- Matthias Klose <email address hidden> Sun, 20 Apr 2008 19:13:15 +0200

Changed in ia32-libs:
status: Incomplete → Fix Released
Revision history for this message
William McKee (william-knowmad) wrote :

Yes, this bug is fixed in that version of ia32-libs but you must also remove the old libgcc as Matthias wrote on 2008-04-17. Thanks!

Revision history for this message
Italian Plumber (italianplumber) wrote :

I had this same problem, of course, after upgrading from gutsy to hardy. Removing the library file fixed it for me, but my path was different:

/usr/lib/vmware-server/lib/libgcc_s.so.1/*

is what I deleted and it seemed to work. I hope I didn't break something else.

Revision history for this message
DigitalBase (info-digitalbase) wrote :

i solved it using these commands :

Copy over two libraries:

sudo cp /lib/libgcc_s.so.1 /usr/lib/vmware-server-console/lib/libgcc_s.so.1/
sudo cp /usr/lib/libpng12.so.0 /usr/lib/vmware-server-console/lib/libpng12.so.0/

on Linux DESKTOP01 2.6.24-19-generic #1 SMP Fri Jul 11 23:41:49 UTC 2008 i686 GNU/Linux

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.