Debian Sound issue - Cannot load libvorbisfile file

Subba Rao plug-discuss@lists.plug.phoenix.az.us
Sun, 2 Mar 2003 05:37:45 -0500


On  0, Derek Neighbors <derek@gnue.org> wrote:
> Try
> 
> apt-get install libvorbis0 libvorbisenc2 libvorbisfile3
> 
> 
> On Sat, 2003-03-01 at 05:51, Subba Rao wrote:
> > Hi
> > 
> > I am experiencing some problem with the sound system.  My system is running
> > Debian 3.0 (Woody).  Initially the sound system worked fine.  Few weeks ago I
> > upgraded to GNOME 2.2 and then I lost sound.  When I try to play some WAV
> > files I keep getting the following error message:
> > 
> > -----------------------------
> > subba9@myhost:/usr/share/sounds$ play phone.wav
> > playing phone.wav
> > sox: error while loading shared libraries: libvorbisfile.so.0: cannot open shared object file: No such file or directory
> > -----------------------------
> > 
> > The sound driver that I am using is from OSS. The tests from the OSS install
> > programs are working fine.
> > 
> > How do you get sound working back again in Debian 3.0 + GNOME 2.2?
> > 
> > Thank you in advance for any help.



My  /usr/lib had the following files and symlinks for *vorbis*

myhost# cd /usr/lib
myhost# ls *vorbis*
lrwxrwxrwx    1 root     root           18 Mar  1 19:52 /usr/lib/libvorbis.so.0 -> libvorbis.so.0.2.0
-rw-r--r--    1 root     root       131440 Jul 19  2002 /usr/lib/libvorbis.so.0.2.0
lrwxrwxrwx    1 root     root           21 Mar  1 20:02 /usr/lib/libvorbisenc.so.2 -> libvorbisenc.so.2.0.0
-rw-r--r--    1 root     root       920392 Jul 19  2002 /usr/lib/libvorbisenc.so.2.0.0


After a long search on the Internet and Debian servers I found this the
libvorbisfile.so.3.0.0 and installed it.

lrwxrwxrwx    1 root     root           22 Mar  1 19:54 /usr/lib/libvorbisfile.so.3 -> libvorbisfile.so.3.0.0
-rw-r--r--    1 root     root        22532 Jul 19  2002 /usr/lib/libvorbisfile.so.3.0.0

At this point I was still having problems with sound. I created the
following symlinks and sound worked on Debian + OSS drivers.

myhost# ln -s libvorbisfile.so.3 libvorbisfile.so.0
myhost# ln -s libvorbisenc.so.2 libvorbisenc.so.0

Thank you to everyone for their suggestions.


-- 
Subba Rao
subba9@cablespeed.com