I am trying to follow the instructions here ( https://wiki.audacityteam.org/wiki/Building_On_Linux ) for building audacity on linux. I am on Ubuntu 20.04 LTS.
I'm at the last step, having cloned / built the audacity code, and ran sudo make install
without an issue. Now I believe audacity is installed on my ubuntu computer, but I can't correctly launch it? There is an audacity program in my software list now, but clicking it launches nothing. The image stays in my dock like the program was started, but no audacity window.
Is there some other way I can launch audacity from the terminal?
trying to launch the 'portable version' with './audacity' causes an err:
$ ./audacity
./audacity: error while loading shared libraries: libwx_baseu_xml-3.1.so.3: cannot open shared object file: No such file or directory
martin@martin-HP-Spectre-x360-13-a
You need to have wxWidgets installed on the computer, and it's location needs to be in PATH. For a "portable" app, wxWidgets can be installed anywhere so long as Audacity can find it (see below)
Recent changes in Debian / Ubuntu prevent executables running on double click by default. The best option is to create a launcher, or a shell script to launch the binary.
An example shell script could be something like:
#!/usr/bin/env bash
export LD_LIBRARY_PATH="/<path to>/wxWidgets/<build folder>/lib/"
exec ./audacity
The file permissions for the shell script need to be set to executable.