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"
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
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.
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 ;)
well mplayer does work afterwards and it didnt before, cant speak for the effectiveness of DirectFB though.