Re: Audacity error on xubuntu 16.04

Chris Green <[email protected]>
Newsgroups gmane.comp.audio.audacity.general
Message-ID <20161201085352.GA29538@esprimo>
On Wed, Nov 30, 2016 at 08:46:28PM -0700, stan wrote:
> On Wed, 30 Nov 2016 23:26:51 +0000
> Chris Green <[email protected]> wrote:
> 
> > On Wed, Nov 30, 2016 at 10:53:33PM +0000, Chris Green wrote:
> > > 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.
> > 
> This is really bizarre.  Is it possible that you have an old version
> dependent on .0 in /usr/local, and that /usr/local is before /usr/bin
> in your $PATH? That would cause this error, as it looked for the
> earlier version.
> 
Aaarrrggghhh!!!  Why didn't I think of that?  I have a locally built
Audacity in /usr/local/bin which I built before 2.1.2 was in the
xubuntu repositories (there was a particular bug I needed to avoid).

Thank you!  :-)

-- 
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.