Posts Tagged ‘How to fix to mplayer relocation error: mplayer: symbol codec_wav_tags on Debian Testing / Unstable’

How to fix to mplayer relocation error: mplayer: symbol codec_wav_tags on Debian Testing / Unstable

Saturday, September 18th, 2010

After a recent update of my installed packages I’ve noticed that my both mplayer and gmplayer stopped working

The error that prevented the mplayer binary to start up was:

mplayer: relocation error: mplayer: symbol codec_wav_tags, version LIBAVFORMAT_52 not defined in file libavformat.so.52 with link time reference

After I’ve checked online I’ve figured out that the bug is reported on debian forums

The forum also pointed a solution which by the way happened to be really easy. To solve it I did 3 things as follows:

1. Deinstall / Uninstall the existent installed mplayer package

debian-desktop:~# apt-get remove mplayer

2. Add the deb http://www.debian-multimedia.org unstable main to /etc/apt/sources.list

debian-desktop:~# echo 'deb http://www.debian-multimedia.org unstable main' >> /etc/apt/sources.list

3. Do a repo available package update with apt-get update and install the existent mplayer in debian-multimedia

debian-desktop:~# apt-get update
debian-desktop:~# apt-get install mplayer

Now your new mplayer installed from Debian Multimedia’s repositories should be working perfectly fine, it seems the version in Debian Multimedia’s repos is already fixed, while in Squeeze / Sid (Testing Unstable), it’s yet broken.