Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 195497 - media-video/mplayer-1.0_rc1_p20070824: error while loading shared libraries
Summary: media-video/mplayer-1.0_rc1_p20070824: error while loading shared libraries
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-11 13:51 UTC by nichocouk
Modified: 2007-10-12 16:34 UTC (History)
0 users

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 nichocouk 2007-10-11 13:51:36 UTC
mplayer cannot start because of missing libraries

Reproducible: Always

Steps to Reproduce:
1. enter mplayer in terminal
2.
3.

Actual Results:  
mplayer crashes with the following message:

$ mplayer 
mplayer: error while loading shared libraries: libvorbis.so.0: cannot open shared object file: No such file or directory


Expected Results:  
mplayer should start

Emerging emul-linux-x86-soundlibs (was not installed by default) solves this particular dependency on libvorbis.so.0. 
However I now have another missing library:
$ mplayer 
mplayer: error while loading shared libraries: libpng.so.2: cannot open shared object file: No such file or directory

I have tried to re-emerge emul-linux-x86-baselibs (was installed) to no avail.

emerge --info
Portage 2.1.3.9 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r8 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Timestamp of tree: Thu, 11 Oct 2007 09:20:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.virginmedia.com/ ftp://gentoo.virginmedia.com/sites/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ ftp://mirror.qubenet.net/mirror/gentoo/ "
LC_ALL="en_GB.UTF-8"
LINGUAS="en_GB"
MAKEOPTS="-j3"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bitmap-fonts cairo caps cddb cdparanoia cli cracklib crypt cups dbus dga directfb dri dvd encode exif fbcon ffmpeg flac foomaticdb fortran ftp gdbm gif gpm gtk hal iconv ipv6 isdnlog java jpeg libnotify mad midi mmx mp3 mpeg mudflap ncurses nis nls nptl nptlonly nsplugin ogg openmp pam pcre perl png pppd python quicktime readline reflection session speex spl sse sse2 ssl startup-notification svg symlink tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb vim-syntax vorbis x264 xcomposite xorg xprint xscreensaver xvid zlib" ALSA_CARDS="hda-intel" 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" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-10-11 13:57:11 UTC
How about if you run revdep-rebuild.
Comment 2 nichocouk 2007-10-11 14:38:59 UTC
(In reply to comment #1)
> How about if you run revdep-rebuild.
> 

Nothing to be done: 
"Dynamic linking on your system is consistent... All done. "
Comment 3 nichocouk 2007-10-12 16:34:18 UTC
My apologies...
I am in a NIS environment where the /usr/local is not actually what is on my computer but is provided from the network. There is a mplayer lurking in /usr/local/bin which is the one which was causing me this problem.
If I force the use of /usr/bin/mplayer, which is the one coming from portage, everything works beautifully.
Sorry about the confusion.