Audacity linking of port audio

Building and customizing Audacity from the source code.

If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like

Audacity linking of port audio

Permanent link to this post Posted by biggil » Wed Jul 30, 2014 5:33 am

hello there,

I am porting an audio app from MacOSX to Ubuntu. It uses portaudio.
So I downloaded portaudio, compil it and install in /usr/local, as recommended.

Later, I downloaded Audacity and install it (binary only, not the source)
When launched, Audacity fails, complaining for an unresolved symbol in portaudio lib.

I could see that there were other portaudio libs in /usr/lib/x86_64-linux-gnu/
probably installed by Ubuntu.

If copied these in /usr/local/lib, overwriting those I compiled.
And Audacity could work.
But this is not a solution, because I have often to compile portaudio with various options for my own dev.
Yes I could install portaudio elsewhere than /usr/local, but that look weird.

This is a generic problem : how can I use /usr/local for developing purpose, modifying some libs as I need,
and still be able to use common applications like Audacity,
which relies on /usr/local contents ?

Regards,
Gilles.
biggil
 
Posts: 4
Joined: Mon Nov 18, 2013 5:49 am
Operating System: Please select

Re: Audacity linking of port audio

Permanent link to this post Posted by Gale Andrews » Wed Jul 30, 2014 11:32 am

biggil wrote:I am porting an audio app from MacOSX to Ubuntu. It uses portaudio.
So I downloaded portaudio, compil it and install in /usr/local, as recommended.

Later, I downloaded Audacity and install it (binary only, not the source)
When launched, Audacity fails, complaining for an unresolved symbol in portaudio lib.

Do you really mean when launched, or when you tried to compile Audacity?

If you mean when compiling, were you configuring Audacity with local or system portaudio?

What exact version of Ubuntu are you using?

biggil wrote:I could see that there were other portaudio libs in /usr/lib/x86_64-linux-gnu/
probably installed by Ubuntu.

If copied these in /usr/local/lib, overwriting those I compiled.
And Audacity could work.
But this is not a solution, because I have often to compile portaudio with various options for my own dev.
Yes I could install portaudio elsewhere than /usr/local, but that look weird.

This is a generic problem : how can I use /usr/local for developing purpose, modifying some libs as I need,and still be able to use common applications like Audacity, which relies on /usr/local contents ?

Have you tried configuring Audacity to use portaudio supplied with Audacity?
Code: Select all
--with-portaudio=local

If you have more problems please attach the complete configure log and make log.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Gale Andrews
Quality Assurance
 
Posts: 26087
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10


Return to Compiling Audacity



Who is online

Users browsing this forum: No registered users and 1 guest