Ubuntu 16.04 - missing libavcodec.so.54?

Help for Audacity 2.x.x on GNU/Linux.
Forum rules
ImageThis forum is for Audacity 2.x.x on GNU/Linux.
Please state:
  • which version of Linux you are using,
  • the exact three-section version number of Audacity from Help menu > About Audacity,
  • whether you installed your distribution's release, PPA version, or compiled Audacity from source code.

Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see https://www.audacityteam.org/download/).
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Post Reply
Shrdlu
Posts: 1
Joined: Mon May 29, 2017 9:56 am
Operating System: Linux *buntu

Ubuntu 16.04 - missing libavcodec.so.54?

Post by Shrdlu » Mon May 29, 2017 10:02 am

Since upgrading to *buntu 16.04 I am unable to run Audacity:

Code: Select all

audacity: error while loading shared libraries: libavcodec.so.54: cannot open shared object file: No such file or directory
I can't install that version of libavcodec:

Code: Select all

$ sudo apt-get install libavcodec54
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libavcodec54 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libavcodec54' has no installation candidate
LibAV is installed:

Code: Select all

$ sudo apt-get install libav-tools
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libav-tools is already the newest version (7:2.8.11-0ubuntu0.16.04.1).
libav-tools set to manually installed.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
I have tried purging and re-installing Audacity to no avail. Any ideas?

Gale Andrews
Quality Assurance
Posts: 26087
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10
Contact:

Re: Ubuntu 16.04 - missing libavcodec.so.54?

Post by Gale Andrews » Mon May 29, 2017 3:30 pm

Have you upgraded to the packaged version of Audacity in the 16.04 repository? Note that Audacity Team is not responsible for such packages - they are the responsibility of Canonical.

If you updated to Ubuntu 16.04 over previous Ubuntu, this is deprecated by Canonical and likely to create issues. Save your data and do a fresh overwrite install instead from the 16.04 image file.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Post Reply