Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 31635

Summary: MPlayer 1.0pre2 cant locate libdirectfb-0.9.so.12
Product: Gentoo Linux Reporter: Ævar Arnfjörð Bjarmason <avarab>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ævar Arnfjörð Bjarmason 2003-10-20 17:28:17 UTC
After emergeing DirectFB mplayer cannot find libdirectfb-0.9.so.12 which is
suposed to be in /usb/lib. Mplayer gives the error:

mplayer: error while loading shared libraries: libdirectfb-0.9.so.12: cannot
open shared object file: No such file or directory

upon trying to start it, However there are two easy workarounds, one of which
i've tried and that is:

cd /usr/lib
ln -s libdirectfb-0.9.so.19 libdirectfb-0.9.so.12

Mplayer now starts normally..

The other one is apperantly to re-emerge mplayer after emergeing DirectFB


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.49-r13-2 (default-ppc-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.21-ppc-r2)
=================================================================
System uname: 2.4.21-ppc-r2 ppc 
Gentoo Base System version 1.4.3.11
distcc 2.11.1 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CFLAGS="-mcpu=750 -O3 -pipe -fsigned-char -mpowerpc-gfxopt"
CHOST="powerpc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=750 -O3 -pipe -fsigned-char -mpowerpc-gfxopt"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache"
GENTOO_MIRRORS="ftp://130.208.16.26/pub/gentoo http://130.208.16.26/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://ftp.rhnet.is/gentoo-portage"
USE="dvd xv nls mitshm gif ppc cups foomaticdb gnome-libs gtkhtml gdbm berkdb
slang readline bonobo tcltk guile X sdl gpm tcpd libwww perl python esd imlib
oggvorbis gtk motif cdr -java -gnome -kde -joystick -matrox opengl jpeg png
truetype aalib encode gtk2 qt pam ssl tc pd oss -alsa crypt directfb spell tiff
xmms mozilla moznoirc moznomail moznocompose -apache2 radeon ncurses
video_cards_radeon"
Comment 1 SpanKY gentoo-dev 2003-10-20 22:50:59 UTC
run `revdep-rebuild --soname libdirectfb-0.9.so.12`

directfb has gone through many api changes in the 0.9.x series so you often
have to rebuild packages when you update directfb
Comment 2 Ævar Arnfjörð Bjarmason 2003-10-21 02:58:20 UTC
Yes, but the problem here isnt that this is some unsolvable bug, there is
already a workaround, (three now) but that this should be done automatically.
Or at least added as info after the DirectFB ebuild "This will break foo,bar
to fix it do yadayadayada" something like that.
Comment 3 SpanKY gentoo-dev 2003-10-21 14:37:35 UTC
i dont see the workaround you're refering to ...

if your solution is `ln -s` then that is wrong ... just because they've got
the same name now doesnt mean the api hasnt changed ;)
Comment 4 Ævar Arnfjörð Bjarmason 2003-10-21 14:42:21 UTC
well mplayer does work afterwards and it didnt before, cant speak for the
effectiveness of DirectFB though.