On Saturday 15 September 2007, Alan McKinnon wrote: > On Sunday 16 September 2007, Mick wrote: > > I am using playsound in KDE to play system sounds, but it has stopped > > working: > > > > $ /usr/bin/playsound chimes.wav > > /usr/bin/playsound: error while loading shared libraries: > > libFLAC.so.7: cannot open shared object file: No such file or > > directory > > > > I ran revdep-rebuild -X, but the problem persists. Any ideas? > > I'll walk you through this the long way round: > > This is the clue: "libFLAC.so.7: cannot open shared object file: No such > file" > > I also have no such file as libFLAC.so.7, but locate libFLAC.so found > libFLAC.so.8, and 'equery belongs' tells me it belongs to > media-libs/flac. 'genlop -t' declares this package was upgraded on my > box from 1.1.2-r8 to 1.1.4 on 17 July. > > So obviously playsound was built against the old version, and > revdep-rebuild can't find the old one so doesn't know what to do about > it. And wisely does nothing about it... > > emerge flac > revdep-rebuild -X > > will see you right.
Thanks guys, I apologise for an incomplete description of the problem. I should have provided some more info: Remerging Flac goes through fine. Revdep-rebuild -X seems to go through OK: ========================================= # revdep-rebuild -X -p -v Configuring search environment for revdep-rebuild Checking reverse dependencies... Packages containing binaries and libraries broken by a package update will be emerged. Collecting system binaries and libraries... done. (/root/.revdep-rebuild.1_files) Collecting complete LD_LIBRARY_PATH... done. (/root/.revdep-rebuild.2_ldpath) Checking dynamic linking consistency... broken /usr/bin/playsound (requires libFLAC.so.7) broken /usr/lib/gstreamer-0.10/libgstflac.so (requires libFLAC.so.7) broken /usr/lib/gstreamer-0.8/libgstossaudio.so (requires libgstinterfaces-0.8.so.0) broken /usr/lib/libSDL_sound-1.0.so.1.0.0 (requires libFLAC.so.7) broken /usr/lib/libakode_xiph_decoder.so (requires libFLAC.so.7 libOggFLAC.so.3) broken /usr/lib/gstreamer-0.8/libgstossaudio.la (requires /usr/lib/libgstinter faces-0.8.la) broken /usr/lib/libakode_xiph_decoder.la (requires /usr/lib/libOggFLAC.la) done. (/root/.revdep-rebuild.3_rebuild) Assigning files to packages... /usr/bin/playsound -> media-libs/sdl-sound /usr/lib/gstreamer-0.10/libgstflac.so -> media-plugins/gst-plugins-flac /usr/lib/gstreamer-0.8/libgstossaudio.so -> media-plugins/gst-plugins-oss /usr/lib/libSDL_sound-1.0.so.1.0.0 -> media-libs/sdl-sound /usr/lib/libakode_xiph_decoder.so -> media-libs/akode /usr/lib/gstreamer-0.8/libgstossaudio.la -> media-plugins/gst-plugins-oss /usr/lib/libakode_xiph_decoder.la -> media-libs/akode done. (/root/.revdep-rebuild.4_packages_raw, /root/.revdep-rebuild.4_package_owners) Cleaning list of packages to rebuild... done. (/root/.revdep-rebuild.4_packages) Assigning packages to ebuilds... done. (/root/.revdep-rebuild.4_ebuilds) Evaluating package order... done. (/root/.revdep-rebuild.5_order) Dynamic linking on your system is consistent... All done. ========================================= playsound still won't play: ========================================= $ /usr/bin/playsound MUSIC/chimes.wav /usr/bin/playsound: error while loading shared libraries: libFLAC.so.7: cannot open shared object file: No such file or directory ========================================= I also noticed that libFLAC.so.7 is not there: ========================================= # ls -la /usr/lib/libFLAC* -rw-r--r-- 1 root root 104084 Sep 17 08:06 /usr/lib/libFLAC++.a -rw-r--r-- 1 root root 850 Sep 17 08:05 /usr/lib/libFLAC++.la lrwxrwxrwx 1 root root 18 Sep 17 08:06 /usr/lib/libFLAC++.so -> libFLAC++.so.6.0.1 lrwxrwxrwx 1 root root 18 Sep 17 08:06 /usr/lib/libFLAC++.so.6 -> libFLAC++.so.6.0.1 -rwxr-xr-x 1 root root 93980 Sep 17 08:06 /usr/lib/libFLAC++.so.6.0.1 -rw-r--r-- 1 root root 266278 Sep 17 08:06 /usr/lib/libFLAC.a -rw-r--r-- 1 root root 820 Sep 17 08:05 /usr/lib/libFLAC.la lrwxrwxrwx 1 root root 16 Sep 17 08:06 /usr/lib/libFLAC.so -> libFLAC.so.8.0.1 lrwxrwxrwx 1 root root 16 Sep 17 08:06 /usr/lib/libFLAC.so.8 -> libFLAC.so.8.0.1 -rwxr-xr-x 1 root root 192012 Sep 17 08:06 /usr/lib/libFLAC.so.8.0.1 ========================================= Short of getting my arc welder out of the garage and building a symlink to libFLAC.so.7, I don't know what to do. -- Regards, Mick
signature.asc
Description: This is a digitally signed message part.