Problem compiling on Ubuntu 13 raring

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

/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/ so try adding it to the linker command line
/lib/x86_64-linux-gnu/ 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

I installed all of the required packages and dependencies from the GNU linux install guide, the following commands all ran successfully:

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

Try running:

sudo apt-get build-dep audacity

then copy the output to your reply.

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.