Problem compiling on Ubuntu 13 raring

Building and customizing Audacity from the source code.
Forum rules
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
Post Reply
mattpennington
Posts: 4
Joined: Sun Jul 28, 2013 3:37 am
Operating System: Please select

Problem compiling on Ubuntu 13 raring

Post by mattpennington » Sun Jul 28, 2013 4:34 am

When running ./configure && make, I get the following error:

Code: Select all

/usr/bin/ld: ../lib-src/libid3tag.a(util.o): undefined reference to symbol 'uncompress'
/usr/bin/ld: note: 'uncompress' is defined in DSO /lib/x86_64-linux-gnu/libz.so.1 so try adding it to the linker command line
/lib/x86_64-linux-gnu/libz.so.1: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[1]: *** [../audacity] Error 1
make[1]: Leaving directory `/home/ubuntu/audacity-read-only/src'
make: *** [audacity] Error 2
ubuntu:~/audacity-read-only$ 
I installed all of the required packages and dependencies from the GNU linux install guide, the following commands all ran successfully:

Code: Select all

sudo apt-get install cmake
sudo apt-get install pkg-config
sudo apt-get install autoconf
sudo apt-get install automake
sudo apt-get install patch
sudo apt-get install gdb
sudo apt-get install gettext
sudo apt-get install libsndfile-dev
I am running Ubuntu 13.04 on an Amazon EC2 instance. I believe I have WxWidgets 2.8.12.1 configured correctly as it works with the python interpreter, but I'm not entirely sure. I suspect that the problem is with the way I installed this package as there is not a lot of documentation on compatability with Ubuntu 13. I'm kind of new at this (if you can't tell by now) so any help or advice is appreciated!

steve
Site Admin
Posts: 81609
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Problem compiling on Ubuntu 13 raring

Post by steve » Sun Jul 28, 2013 10:46 am

Try running:

Code: Select all

sudo apt-get build-dep audacity 
then copy the output to your reply.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

mattpennington
Posts: 4
Joined: Sun Jul 28, 2013 3:37 am
Operating System: Please select

Re: Problem compiling on Ubuntu 13 raring

Post by mattpennington » Sun Jul 28, 2013 2:01 pm

That worked thanks!

I had skipped this step because I thought the Linux development guide had said these libraries were optional, but I was able to install successfully after building the dependencies.

Post Reply