VMware

This Question is Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
1 2 3 Previous Next 32 Replies Last post: Dec 10, 2008 3:55 AM by jgerssen  

libpng12.so.0: no version information available posted: Apr 12, 2006 1:24 AM

Click to view checkman's profile Lurker 4 posts since
Apr 9, 2006
I run vmware-workstation 5.5.1 in ubuntu 5.1
newbie@boxit~$ uname -a
Linux boxit 2.6.16.1 #3 Sun Apr 9 22:10:21 CST 2006 i686 GNU/Linux

3 days ago, I could use vmware or vmplayer to start my windows 2k server guest box,but today I could not start it with the following error message .

newbie@boxit~$ vmware
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2)
kde-config: /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libqt-mt.so.3)
kde-config: /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libqt-mt.so.3)
*** attempt to put segment in horiz list twice

newbie@boxit~$ vmplayer
/usr/lib/vmware/bin/vmplayer: /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2)
kde-config: /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libqt-mt.so.3)
kde-config: /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libqt-mt.so.3)
*** attempt to put segment in horiz list twice

newbie@boxit~$ vmware -v
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2)
VMware Workstation 5.5.1 build-19175


any body got the same thing ?

btw:I have not upgrade my uguntu box yet,and I apply the any-to-any update 101.

Re: libpng12.so.0: no version information available

1. Apr 13, 2006 3:54 AM in response to: checkman
Click to view petr's profile Champion 7,218 posts since
Jul 10, 2003
Perhaps you've updated libpng (or libcairo/libqt?) on your system, and libpng12 shipped with VMware is now needed... Either search your distro for libpng12, or try 'VMWARE_USE_SHIPPED_GTK=force vmware'. If you'll find libpng12 in your distro, everything should work. If you'll use VMWARE_USE_SHIPPED_GTK environment variable, theme you are using will probably not apply (at all or correctly) to the vmware.

Re: libpng12.so.0: no version information available

3. Apr 16, 2006 10:13 AM in response to: petr
Click to view pdrap's profile Novice 6 posts since
Apr 12, 2005
I've got the same problem, and I'm running Debian testing on two systems. They both have identical libpng12 and libcairo libraries. On one system, vmware prints the message about the version information and exits (fails to start). On the other system, vmware prints the message and continues on to run normally.

I think there's something else going on besides a problem with libcairo and libpng, or else I wouldn't be able to run vmware on either system.

Re: libpng12.so.0: no version information available

4. Apr 17, 2006 7:50 AM in response to: pdrap
Click to view pdrap's profile Novice 6 posts since
Apr 12, 2005
Additional information: shortly after I started having this trouble, my X server crashed. When it came back up, everything was working normally. I've seen other references to this particular problem attributed to library problems. Before looking at libraries, try restarting the X server.

Re: libpng12.so.0: no version information available

5. Aug 30, 2006 2:42 PM in response to: petr
Click to view JRodd's profile Lurker 1 posts since
Aug 30, 2006
I had this same problem. I am using KDE with dapper 6.06. I did an update today and suddenly vmware no longer worked. I was getting the same error as described in this thread. I tried both methods to fix the problem. First, I tried 'VMWARE_USE_SHIPPED_GTK=force vmware'. It worked great but did strip the theme. Once I was able to do that, I tried the other method of copying back the original libpng12.so.0 from the distrib. Of course I made a backup of the file before overwriting it. I was able to launch vmware again without any problems and my theme was restored.

Re: libpng12.so.0: no version information available

6. Sep 18, 2006 1:20 PM in response to: checkman
Click to view miltieIV2's profile Lurker 4 posts since
Jun 20, 2006
This same error is now popping up in relation to a completely different problem.

On Debian unstable, the latest version of libhal (Hardware Abstraction Layer) breaks
vmware and must be downgraded from 0.5.7.1-2 to 0.5.7.1-1
Below are instructions for five steps:
downgrade, make a private copy, adjust the wrapper to use it, backup, re-upgrade.
Adjust all the /usr/lib/vmware... stuff to match your vmware install (maybe /usr/local)

Downgrade:
# apt-get install libhal1=0.5.7.1-1

Make a vmware private copy:
# ls -l
-rw-r--r-- 1 root root 31352 Sep 18 14:11 libhal.so.1
lrwxrwxrwx 1 root root 11 Sep 18 14:12 libhal.so.1.0.0 -> libhal.so.1
(Repeat for each vmware, vmware-console, etc.)

Edit the wrapper(s) to use the private copy:
# vi /usr/lib/vmware-server-console/lib/wrapper-gtk24.sh
(find the line
vm_append_lib 'libpng12.so.0'
and add this line after it:
vm_append_lib 'libhal.so.1'
Save and exit)
(Repeat for each vmware, vmware-console, etc.)

Save off a copy of the 0.5.7.1-1 libs in case we need them later and can't downgrade
# tar zcf /root/libhal1_0.5.7.1-1.tar.gz /usr/lib/vmware-server-console/lib/libhal.so.1

Re-upgrade libhal1 for all the other applications:
# apt-get install libhal1
Click to view miltieIV2's profile Lurker 4 posts since
Jun 20, 2006
Hmm

Sometimes the private copy stuff works, sometimes it doesn't, not sure why.

You may just have to leave libhal1 downgraded (only do the first of five steps)
Click to view aakef's profile Novice 10 posts since
Jun 1, 2006
Hi miltieIV2,

I found an easier workaround in the Ubuntu forums:

Add to vmware/lib/wrapper-gtk24.sh in vm_run()

# Fix for pulling in libdbus-1.so.2 instead of .3
export LD_PRELOAD=/usr/lib/libdbus-1.so.3:$LD_PRELOAD

Cheers,
Bernd

Message was edited by:
aakef

Re: libpng12.so.0: no version information available

9. Sep 22, 2006 6:26 AM in response to: checkman
Click to view paulnicklin's profile Lurker 1 posts since
Feb 6, 2006
I fixed this by removing libpng12.so.0/* from /usr/lib/vmware-server-console/lib
I presume then vmware uses my distro copy and libcairo is happy.

I notice too that vm_append_lib libpng12.so.0' appears in the wrapper script maybe I just needed to remove that instead.

along with miltieIV2 's fix. it now works.

Re: libpng12.so.0: no version information available

10. Sep 22, 2006 9:25 AM in response to: aakef
Click to view fabianoma's profile Lurker 3 posts since
Sep 22, 2006
Hi all.
I have same problem and try this aakef trick to run vmware in my debian unstable.

But now have a new error: If I ckick in browse button inside vmware to changes settings, vmware freezy ang give the error at console:
(vmware:10798): libgnomevfs-WARNING **: Cannot load module `/usr/lib/gnome-vfs-2.0/modules/libfile.so' (/usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6))

Any help?

Re: libpng12.so.0: no version information available

11. Sep 22, 2006 10:36 AM in response to: fabianoma
Click to view ksc's profile Expert 465 posts since
Sep 21, 2005
Somehow, you've got libstdc++.so.6 loading (~gcc4.2) ... all the VMware code is compiled against libstdc++.so.5 (~gcc3.4). Why is this happening? It looks like the version of gnome-vfs you are using is compiled to use more recent C++, vmware is compiled against older C++ libraries, and the two conflict.

I don't know what is bringing in gnome-vfs but it could be the tweak you made to the wrapper script; the wrapper script exists to avoid those dependency problems by substituting older library versions that don't have unsatisfiable dependencies.

Re: libpng12.so.0: no version information available

12. Sep 22, 2006 11:20 AM in response to: ksc
Click to view fabianoma's profile Lurker 3 posts since
Sep 22, 2006
The only change I did in wrapper script was to put
# Fix for pulling in libdbus-1.so.2 instead of .3
export LD_PRELOAD=/usr/lib/libdbus-1.so.3:$LD_PRELOAD
in vm_run().
The vmware works but I can change options using browser button.
In my system I have gcc version 4.1.2 and don't have libstdc++.so.5 installed in my system.

Thanks for help.
Click to view ksc's profile Expert 465 posts since
Sep 21, 2005
# Fix for pulling in libdbus-1.so.2 instead of .3
export LD_PRELOAD=/usr/lib/libdbus-1.so.3:$LD_PRELOAD

So because you don't have a .2, you bring in .3 ... yikes? You end up bringing in all the dependencies of libdbus-1.so.3 (use ldd -r to see those), which I suspect conflict. This is probably why the wrong libstdc++ is appearing too. You really do want libdbus-1.so.2.

You should be able to find a /usr/lib/libdbus-1.so.2 (it's the current library on my Ubuntu system, using Drake) for installation.

XXXXXX - scratch most of that. I looked at some e-mails and found out the actual story. libdbus is just strange on this prerelease system.

Message was edited by:
ksc

Message was edited by:
ksc

Re: libpng12.so.0: no version information available

14. Sep 22, 2006 1:27 PM in response to: ksc
Click to view ksc's profile Expert 465 posts since
Sep 21, 2005
I'm looking at this more carefully now ... turns out we had an internal e-mail discussion a while ago that relates to this problem.

Edgy ships two versions of libdbus. The version we use is the older one. There is also a libhal involved; it is linked against the newer one (by Debian). This conflicts, resulting in the "bring in a more recent libdbus" workaround. Honestly, it's an Ubuntu bug (understandable; Edgy is pre-release); they shouldn't ship a libdbus that doesn't work correctly on their system. (Our code, in fact, works fine without libdbus/libhal, and only breaks because there is a broken old version of libdbus around).

Somehow, though, a gnome-vfs dependency is leaking through, which brings a bad libstdc++ dependency, which breaks the whole mess with the crash you got. Don't know what it is. I'm suspecting libdbus and/or libhal, which means I would like to see the ldd -r output. Actually, ldd -r for any libdbus or libhal on your system.

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities