Re: Audacity error on xubuntu 16.04

Chris Green <[email protected]>
Newsgroups gmane.comp.audio.audacity.general
Message-ID <20161130232650.GA22120@esprimo>
On Wed, Nov 30, 2016 at 10:53:33PM +0000, Chris Green wrote:
> On Mon, Nov 28, 2016 at 03:25:41PM -0700, stan wrote:
> > On Mon, 28 Nov 2016 20:06:22 +0000
> > Chris Green <[email protected]> wrote:
> > 
> > > Strangely I have another xubuntu 16.04 system where audacity works
> > > perfectly OK and that doesn't have libSoundTouch.so.0 either.
> > 
> > You could run ldd on the audacity binary to see which version this
> > binary is dependent on.  You probably want to run it through grep,
> > since audacity is dependent on a *lot* of libraries.
> > 
> > ldd /usr/bin/audacity | grep -i soundtouch
> > 
> > It's probably dependent on .1, which is why it is working.
> > 
> Both systems say the following:-
> 
>     chris$ ldd /usr/bin/audacity | grep -i soundtouch
>         libSoundTouch.so.1 => /usr/lib/x86_64-linux-gnu/libSoundTouch.so.1 (0x00007f70f87fd000)
> 
> So why is one system failing with:-
> 
> audacity: error while loading shared libraries: libSoundTouch.so.0: cannot 
> open shared object file: No such file or directory 
> 
> since accoring to ldd it shouldn't be trying to load libSoundTouch.so.0.
> 
> Oh well, the workaround in the previous E-Mail works.
> 
It's very curious, I can see no reason whatsoever for the audacity on
the 'bad' system to ask for libSoundTouch.so.0, searching for name
using the 'strings' command produces the following:-

    chris$ strings /usr/bin/audacity | grep libSound
    libSoundTouch.so.1
    chris$ 

The two binaries (/usr/bin/audacity) are identical.


I have also compared the system call sequence using ptrace and the two
systems are near enough identical except that the 'bad' one loads
libSoundTouch.so.0.  However there is a difference here, the 'good'
one goes straight to /usr/lib/x86_64-linux-gnu/libSoundTouch.so.1
whereas the 'bad' one searches through the whole series of possible
library locations before finding libSoundTouch.so.0.

-- 
Chris Green

------------------------------------------------------------------------------
*********** ASKING FOR HELP *************

When asking for help on this list, please include the following information, so we can 
help you properly: 

* What operating system you are using (for example, Windows XP or Mac OS X 10.5.1)   

* Exactly what three digit version number of Audacity you are using (Help > About 
   Audacity, or Audacity >  About Audacity on a Mac computer)   

* If this is a recording problem, what equipment you are recording with, and how is it 
   connected to the computer?

Mailing list: [email protected]
To UNSUBSCRIBE, use the form at the bottom of this web page:
https://lists.sourceforge.net/lists/listinfo/audacity-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.