Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 161043 - after emul-linux update mplayer-bin does not find libs anymore
Summary: after emul-linux update mplayer-bin does not find libs anymore
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-09 00:51 UTC by Volker Hemmann
Modified: 2007-01-10 20:55 UTC (History)
2 users (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 Volker Hemmann 2007-01-09 00:51:56 UTC
After the latest big 'emul linux' update last night, mplayer-bin complains about missing libs.
I updated:

app-emulation/emul-linux-x86-compat-1.0-r2
app-admin/chrpath-0.13
app-emulation/emul-linux-x86-baselibs-2.5.5-r3
app-emulation/emul-linux-x86-xlibs-7.0-r8
app-emulation/emul-linux-x86-qtlibs-3.4.4-r4
app-emulation/emul-linux-x86-gtklibs-2.10.6.3-r3

after that update:
/opt/mplayer-bin/bin/mplayer-bin: error while loading shared libraries: libmad.so.0: cannot open shared object file: No such file or directory

ldd bin/mplayer-bin
        linux-gate.so.1 =>  (0xffffe000)
        libmad.so.0 => not found
        libdv.so.4 => not found
        libtheora.so.0 => not found
        libogg.so.0 => not found
        libmp3lame.so.0 => not found
        libxvidcore.so.4 => not found    
        libgif.so.4 => not found
        libfribidi.so.0 => not found
        libesd.so.0 => not found
        libaudiofile.so.0 => not found
        liblirc_client.so.0 => not found
the missing stuff is in /emul/linux/x86/usr/lib32 but mplayer-bin does not look there. It only looks int /lib32 and /usr/lib32/

Reproducible: Always

Steps to Reproduce:
1.update to latest emul-libs
2.start mplayer-bin-1.0_pre8
3. see results

Actual Results:  
I just updated my system two times in the last couple of days and when I tried to use mplayer-bin after the update today, it showed the missing lib-problem.


emerge --info
Portage 2.1.2_rc4-r7 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19.1 x86_64)
=================================================================
System uname: 2.6.19.1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
Gentoo Base System version 1.12.8
Last Sync: Mon, 08 Jan 2007 22:30:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.6, 2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17.50.0.9
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -fweb -ftracer -fpeel-loops -ftree-vectorize -frename-registers -floop-optimize2 -msse3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -fweb -ftracer -fpeel-loops -ftree-vectorize -frename-registers -floop-optimize2 -msse3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LC_ALL="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/gentoo-de /usr/portage/local/layman/portage-xgl /usr/portage/local/layman/nxsty /usr/portage/local/layman/xwing"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip S3TC X Xaw3d a52 aac acpi addbookmarks aiglx aim aio akode alias alsa altenburgcards amarok amd64 aotuv aqua_theme asf athena audiofile avahi bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cdda cddb cdinstall cdparanoia cdr cdrom cdsound cegui cg clamav cli cracklib crypt css cups curl dio divx dlloader dnd double-precision dpms dri dts dv dvd dvdr dvdread emul-linux-x86 encode exif expat exscalibar fame fasttrack ffmpeg fftw flac foomaticdb fortran ftp gadu gcc64 gdbm gif gimp gimpprint glitz glut glx gnokii gnutella gpm gtk gtk2 highlight history iconv icq id3 imagemagick imlib irmc isdnlog jabber java javascript jce joystick jpeg jpeg2k kcal kde kdecards kdeenablefinal kdehiddenvisibility kdepim kdm kexi kipi kqemu lame lcms lesstif libg++ libwww lm_sensors logitech-mouse lzo lzw mad magic maps matroska mime mjpeg mmap mng mp3 mp4 mpeg mpeg2 mplayer msn mule musepack ncurses neXt net ngui nls no-old-linux nocd nosendmail nowin nowlistening nptl nptlonly nsplugin nvidia offensive ogg openexr opengl oscar pam paste64 pch pcre pdf perl physfs player png posix ppds pppd python qt3 qt4 quicktime rar readline recode reflection reiserfs remix resolvconf rogue rtc scanner sdl sdl-sound sendfile server session sharedmem smp sms sndfile sockets sounds spell spl sqlite sqlite3 srt sse-filters sse3 ssl startup-notification statistics stats stencil-buffer stroke subp subtitles svg sysfs sysvipc szip tcpd textures tga theora threads tiff timidity tk toolbar tools transcode truetype truetype-fonts type1 type1-fonts udev unicode unzip usb userlocales v4l v4l2 vcd videos visualization vorbis webdav wmf wxwindows x264 xanim xcomposite xemacs xext xface xine xml xorg xosd xpm xrandr xscreensaver xskatcards xv xvid xvmc yiff yv12 zlib zvbi" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia vesa vga v4l nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Piotr Jaroszyński (RETIRED) gentoo-dev 2007-01-09 14:41:56 UTC
You should also update to app-emulation/emul-linux-x86-medialibs-1.2-r1 and app-emulation/emul-linux-x86-soundlibs-2.5-r2.

Reopen If you still have problems after update.
Comment 2 Volker Hemmann 2007-01-09 21:29:44 UTC
Hi,

I updated them to the versions you said, now I get:
/opt/mplayer-bin/bin/mplayer-bin: error while loading shared libraries: libSDL-1.2.so.0: cannot open shared object file: No such file or directory

LD_LIBRARY_PATH=/emul/linux/x86/usr/lib32/ mplayer-bin path/to/file  works around it.
Comment 3 Piotr Jaroszyński (RETIRED) gentoo-dev 2007-01-09 23:35:06 UTC
Then you need also emul-linux-x86-sdl-2.3-r1.
Comment 4 Volker Hemmann 2007-01-09 23:58:44 UTC
yeah, but it sucks, that suddenly I have to update (at least) three different packages. One day everything works fine, next day everything falls apart.

Which of the updates 'devided' the emul packages? And why did not all got updated, if it is needed anyway?
Comment 5 SpanKY gentoo-dev 2007-01-10 03:40:17 UTC
all of the leaf nodes force the latest inner nodes
Comment 6 Volker Hemmann 2007-01-10 06:49:54 UTC
I am not sure, that I do understand you correctly, but are you trying to tell me, that some update, that forced some of the emul-packages to become updated, broke mplayer-bin?

But why?

I mean, if there is an update, that might break stuff, why not updating everything, instead of leaving a half working mess?

app-emulation/emul-linux-x86-compat-1.0-r2
app-admin/chrpath-0.13
app-emulation/emul-linux-x86-baselibs-2.5.5-r3
app-emulation/emul-linux-x86-xlibs-7.0-r8
app-emulation/emul-linux-x86-qtlibs-3.4.4-r4
app-emulation/emul-linux-x86-gtklibs-2.10.6.3-r3
media-video/realplayer-10.0.8-r1

was the update that broke mplayer-bin for me. Why do 'I' have to emerge some more updates by hand?
From my point of view, portage only did half the job. It updated some packages, but not everything needed which resulted in breakage.
Wait, that is worse than doing half the job. Portage only updated 'some' libs, when it should have updated everything. But why?

Btw, I just looked at the realplayer ebuild. It demands some version of the emul packages installed, but there was no need for emul-updates. Which confuses me even more.

So I had a partial emul-package update, that was not needed by the following package to work, which broke mplayer-bin.
And that is not a bug?

*sigh* I am sounding like an asshole - and I really don't want to. I should really get some sleep.

But could somebody please explain, why I got in that mess?



Comment 7 Piotr Jaroszyński (RETIRED) gentoo-dev 2007-01-10 14:25:25 UTC
You are mixing ~amd64 and amd64 or didn't do emerge -uD world. But you are right that emul pkgs transition from /emul to /lib32 should have been done smoother.
Comment 8 Volker Hemmann 2007-01-10 20:55:58 UTC
Thanks,

I don't mix, I am purely ~amd64. yes, I should react more relaxed when problems apear. And yes, I did not a --deep update.

In the past, I suffered regularly annoying problems after --deep updates, so I don't do it, if not told otherwise.