1 |
On Saturday 15 September 2007, Alan McKinnon wrote: |
2 |
> On Sunday 16 September 2007, Mick wrote: |
3 |
> > I am using playsound in KDE to play system sounds, but it has stopped |
4 |
> > working: |
5 |
> > |
6 |
> > $ /usr/bin/playsound chimes.wav |
7 |
> > /usr/bin/playsound: error while loading shared libraries: |
8 |
> > libFLAC.so.7: cannot open shared object file: No such file or |
9 |
> > directory |
10 |
> > |
11 |
> > I ran revdep-rebuild -X, but the problem persists. Any ideas? |
12 |
> |
13 |
> I'll walk you through this the long way round: |
14 |
> |
15 |
> This is the clue: "libFLAC.so.7: cannot open shared object file: No such |
16 |
> file" |
17 |
> |
18 |
> I also have no such file as libFLAC.so.7, but locate libFLAC.so found |
19 |
> libFLAC.so.8, and 'equery belongs' tells me it belongs to |
20 |
> media-libs/flac. 'genlop -t' declares this package was upgraded on my |
21 |
> box from 1.1.2-r8 to 1.1.4 on 17 July. |
22 |
> |
23 |
> So obviously playsound was built against the old version, and |
24 |
> revdep-rebuild can't find the old one so doesn't know what to do about |
25 |
> it. And wisely does nothing about it... |
26 |
> |
27 |
> emerge flac |
28 |
> revdep-rebuild -X |
29 |
> |
30 |
> will see you right. |
31 |
|
32 |
Thanks guys, |
33 |
|
34 |
I apologise for an incomplete description of the problem. I should have |
35 |
provided some more info: |
36 |
|
37 |
Remerging Flac goes through fine. |
38 |
|
39 |
Revdep-rebuild -X seems to go through OK: |
40 |
========================================= |
41 |
# revdep-rebuild -X -p -v |
42 |
Configuring search environment for revdep-rebuild |
43 |
|
44 |
Checking reverse dependencies... |
45 |
|
46 |
Packages containing binaries and libraries broken by a package update |
47 |
will be emerged. |
48 |
|
49 |
Collecting system binaries and libraries... done. |
50 |
(/root/.revdep-rebuild.1_files) |
51 |
|
52 |
Collecting complete LD_LIBRARY_PATH... done. |
53 |
(/root/.revdep-rebuild.2_ldpath) |
54 |
|
55 |
Checking dynamic linking consistency... |
56 |
broken /usr/bin/playsound (requires libFLAC.so.7) |
57 |
broken /usr/lib/gstreamer-0.10/libgstflac.so (requires libFLAC.so.7) |
58 |
broken /usr/lib/gstreamer-0.8/libgstossaudio.so (requires |
59 |
libgstinterfaces-0.8.so.0) |
60 |
broken /usr/lib/libSDL_sound-1.0.so.1.0.0 (requires libFLAC.so.7) |
61 |
broken /usr/lib/libakode_xiph_decoder.so (requires libFLAC.so.7 |
62 |
libOggFLAC.so.3) |
63 |
broken /usr/lib/gstreamer-0.8/libgstossaudio.la |
64 |
(requires /usr/lib/libgstinter |
65 |
faces-0.8.la) |
66 |
broken /usr/lib/libakode_xiph_decoder.la (requires /usr/lib/libOggFLAC.la) |
67 |
done. |
68 |
(/root/.revdep-rebuild.3_rebuild) |
69 |
|
70 |
Assigning files to packages... |
71 |
/usr/bin/playsound -> media-libs/sdl-sound |
72 |
/usr/lib/gstreamer-0.10/libgstflac.so -> media-plugins/gst-plugins-flac |
73 |
/usr/lib/gstreamer-0.8/libgstossaudio.so -> media-plugins/gst-plugins-oss |
74 |
/usr/lib/libSDL_sound-1.0.so.1.0.0 -> media-libs/sdl-sound |
75 |
/usr/lib/libakode_xiph_decoder.so -> media-libs/akode |
76 |
/usr/lib/gstreamer-0.8/libgstossaudio.la -> media-plugins/gst-plugins-oss |
77 |
/usr/lib/libakode_xiph_decoder.la -> media-libs/akode |
78 |
done. |
79 |
|
80 |
(/root/.revdep-rebuild.4_packages_raw, /root/.revdep-rebuild.4_package_owners) |
81 |
|
82 |
Cleaning list of packages to rebuild... done. |
83 |
(/root/.revdep-rebuild.4_packages) |
84 |
|
85 |
Assigning packages to ebuilds... done. |
86 |
(/root/.revdep-rebuild.4_ebuilds) |
87 |
|
88 |
Evaluating package order... done. |
89 |
(/root/.revdep-rebuild.5_order) |
90 |
|
91 |
Dynamic linking on your system is consistent... All done. |
92 |
========================================= |
93 |
|
94 |
playsound still won't play: |
95 |
========================================= |
96 |
$ /usr/bin/playsound MUSIC/chimes.wav |
97 |
/usr/bin/playsound: error while loading shared libraries: libFLAC.so.7: cannot |
98 |
open shared object file: No such file or directory |
99 |
========================================= |
100 |
|
101 |
I also noticed that libFLAC.so.7 is not there: |
102 |
========================================= |
103 |
# ls -la /usr/lib/libFLAC* |
104 |
-rw-r--r-- 1 root root 104084 Sep 17 08:06 /usr/lib/libFLAC++.a |
105 |
-rw-r--r-- 1 root root 850 Sep 17 08:05 /usr/lib/libFLAC++.la |
106 |
lrwxrwxrwx 1 root root 18 Sep 17 08:06 /usr/lib/libFLAC++.so -> |
107 |
libFLAC++.so.6.0.1 |
108 |
lrwxrwxrwx 1 root root 18 Sep 17 08:06 /usr/lib/libFLAC++.so.6 -> |
109 |
libFLAC++.so.6.0.1 |
110 |
-rwxr-xr-x 1 root root 93980 Sep 17 08:06 /usr/lib/libFLAC++.so.6.0.1 |
111 |
-rw-r--r-- 1 root root 266278 Sep 17 08:06 /usr/lib/libFLAC.a |
112 |
-rw-r--r-- 1 root root 820 Sep 17 08:05 /usr/lib/libFLAC.la |
113 |
lrwxrwxrwx 1 root root 16 Sep 17 08:06 /usr/lib/libFLAC.so -> |
114 |
libFLAC.so.8.0.1 |
115 |
lrwxrwxrwx 1 root root 16 Sep 17 08:06 /usr/lib/libFLAC.so.8 -> |
116 |
libFLAC.so.8.0.1 |
117 |
-rwxr-xr-x 1 root root 192012 Sep 17 08:06 /usr/lib/libFLAC.so.8.0.1 |
118 |
========================================= |
119 |
|
120 |
Short of getting my arc welder out of the garage and building a symlink to |
121 |
libFLAC.so.7, I don't know what to do. |
122 |
-- |
123 |
Regards, |
124 |
Mick |