Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 319239 - app-emulation/vmware-workstation-7.0.1.227600-r5 is missing =media-libs/libpng-1.2* depend
Summary: app-emulation/vmware-workstation-7.0.1.227600-r5 is missing =media-libs/libpn...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Vadim Kuznetsov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-11 04:46 UTC by Steve Kutnar
Modified: 2010-05-12 22:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Kutnar 2010-05-11 04:46:49 UTC
vmware-workstation fails to load after upgrading libpng to version 1.4.2.  It appears vmware-workstation requires libpng12.so.0.

Reproducible: Always

Steps to Reproduce:
1. Upgrade libpng to 1.4.2
2. Attempt to start vmware-workstation
3.

Actual Results:  
vmware fails to start

Expected Results:  
vmware runs normally

Output from application loader log in /tmp:

May 11 00:29:47.309: app-140695772608256| Log for VMware Workstation pid=2802 version=7.0.1 build=build-227600 option=Release
May 11 00:29:47.309: app-140695772608256| The process is 64-bit.
May 11 00:29:47.309: app-140695772608256| Host codepage=UTF-8 encoding=UTF-8
May 11 00:29:47.309: app-140695772608256| Calling: "/opt/vmware/bin/vmware"
May 11 00:29:47.309: app-140695772608256| Using configuration file /etc/vmware/config.
May 11 00:29:47.310: app-140695772608256| Using library directory:  /opt/vmware/lib/vmware.
LOG NOT INITIALIZED | Created dependency tree.
LOG NOT INITIALIZED | libexpat.so.0 <SHIPPED>
LOG NOT INITIALIZED | libgvmomi.so.0 <SHIPPED>
LOG NOT INITIALIZED | libview.so.2 <SHIPPED>
LOG NOT INITIALIZED | libvmwarebase.so.0 <SHIPPED>
LOG NOT INITIALIZED | libvmware.so <SHIPPED>
LOG NOT INITIALIZED | libvmwareui.so.0 <SHIPPED>
LOG NOT INITIALIZED | Loading shipped version of libexpat.so.0.
LOG NOT INITIALIZED | Loading shipped version of libview.so.2.
LOG NOT INITIALIZED | Loading shipped version of libvmwarebase.so.0.
LOG NOT INITIALIZED | Unable to load libvmwarebase.so.0 from /opt/vmware/lib/vmware/lib/libvmwarebase.so.0/libvmwarebase.so.0: libpng12.so.0: cannot open shared object file: No such file or directory
LOG NOT INITIALIZED | Unable to load application library dependencies.
Comment 1 Steve Kutnar 2010-05-11 04:47:27 UTC
emerge --info:

Portage 2.2_rc67 (default/linux/amd64/10.0/no-multilib, gcc-4.4.3-asneeded, glibc-2.11.1-r0, 2.6.33-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.33-gentoo-r2-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4400+-with-gentoo-2.0.1
Timestamp of tree: Mon, 10 May 2010 15:00:01 +0000
app-shells/bash:     4.1_p5
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.8.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests distlocks fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.mirrors.tds.net/gentoo ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common"
LINGUAS="en en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/vmware /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi alsa amd64 ao bash-completion branding bzip2 cairo caps cdda cddb cdparanoia cli cracklib crypt css cups curl cxx dbus dga dri dv dvd dvdr encode exif expat faac faad fam fbcon ffmpeg fftw flac fontconfig fortran geoip ggi gif glib gmp gnutls gphoto2 gpm gs gtk iconv icu id3tag idn ieee1394 imagemagick imlib ipv6 ithreads java jfs joystick jpeg jpeg2k kde kdehiddenvisibility kontact lame lcms libsamplerate lm_sensors logrotate lzo mad matroska mbox mjpeg mmap mmx mmxext mng modplug modules motif mp3 mpeg mplayer msn mtp mudflap musepack musicbrainz ncurses network network-cron nls nptl nptlonly nsplugin ntfs offensive ogg openal opengl openmp openssl oscar pam pcre pdf perl plasma plotutils png pppd qt3support qt4 quicktime rar readline reflection rle samba schroedinger sdl semantic-desktop session smp sndfile speex spell spl sse sse2 sse3 ssl startup-notification stats subversion suid svg sysfs syslog tcl tcpd theora threads tiff truetype twolame udev unicode usb vcd vdpau vim-syntax vnc vorbis wavpack wmf wxwidgets x264 xcomposite xfs xft xine xml xorg xpm xscreensaver xv xvid xvmc zlib" ALSA_CARDS="emu10k1 usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="joystick evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-05-11 08:07:03 UTC
maintainers, please verify your package links against libpng12.so.0 and add =media-libs/libpng-1.2* to your RDEPEND string if that's true.

qlist <package> | xargs objdump -p | grep libpng
Comment 3 Alexandre Borges Marcelo 2010-05-11 23:16:45 UTC
This bug is a duplicate of bug #319061.
After correctly building against libpng-1.4.2 it works fine.
Comment 4 Steve Kutnar 2010-05-12 06:34:31 UTC
(In reply to comment #3)
> This bug is a duplicate of bug #319061.
> After correctly building against libpng-1.4.2 it works fine.
> 

I don't know how you got your vmware-workstation to work with libpng-1.4.2.  Mine definitely does not work, after doing to the following:
- emerge -av1 libpng-1.4.2
- lafilefixer --justfixit
- emerge -av1 @preserved-rebuild vmware-workstation
- revdep-rebuild
- lafilefixer --justfixit
- revdep-rebuild (nothing reported in error)
- emerge vmware-workstation

It still reports an error trying to load libpng12.so.0.  What else do I need to do?
Comment 5 Steve Kutnar 2010-05-12 06:35:45 UTC
Sorry, typo in my first step.  I didn't specify the version, just did "emerge -av1 libpng"
Comment 6 Vadim Kuznetsov (RETIRED) gentoo-dev 2010-05-12 12:40:14 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > This bug is a duplicate of bug #319061.
> > After correctly building against libpng-1.4.2 it works fine.
> > 
> 
> I don't know how you got your vmware-workstation to work with libpng-1.4.2. 
> Mine definitely does not work, after doing to the following:
> - emerge -av1 libpng-1.4.2
> - lafilefixer --justfixit
> - emerge -av1 @preserved-rebuild vmware-workstation
> - revdep-rebuild
> - lafilefixer --justfixit
> - revdep-rebuild (nothing reported in error)
> - emerge vmware-workstation
> 
> It still reports an error trying to load libpng12.so.0.  What else do I need to
> do?
> 

As Samuli said (https://bugs.gentoo.org/show_bug.cgi?id=319061#c45)
you can have both versions at same time. So you will not need to rebuild half of the system back to 12.
Comment 7 Vadim Kuznetsov (RETIRED) gentoo-dev 2010-05-12 13:02:15 UTC
Please try last revision (404)
I just changed rdepend from =media-libs/libpng-1.2*  to media-libs/libpng:1.2 
Thanks.
Comment 8 Alexandre Borges Marcelo 2010-05-12 15:07:17 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > This bug is a duplicate of bug #319061.
> > After correctly building against libpng-1.4.2 it works fine.
> > 
> 
> I don't know how you got your vmware-workstation to work with libpng-1.4.2. 
> Mine definitely does not work, after doing to the following:
> - emerge -av1 libpng-1.4.2
> - lafilefixer --justfixit
> - emerge -av1 @preserved-rebuild vmware-workstation
> - revdep-rebuild
> - lafilefixer --justfixit
> - revdep-rebuild (nothing reported in error)
> - emerge vmware-workstation
> 
> It still reports an error trying to load libpng12.so.0.  What else do I need to
> do?
> 

I honestly don't know what I did right, but after half my apps broke with the libpng12.so.0 dependency I had some time in my hands, so I rebuilt my entire system with the emwrap.sh-r4 script and everything worked again... =D
Comment 9 Steve Kutnar 2010-05-12 22:43:50 UTC
After using the updated ebuild for r5, this issue has been resolved.