I am using Ubuntu 22.04. My ffmpeg has suddenly stopped working and is giving this error:
ffmpeg: symbol lookup error: /lib/x86_64-linux-gnu/libpocketsphinx.so.3: undefined symbol: err_set_debug_level
I have tried uninstalling and reinstalling ffmpeg and I have tried uninstalling all of the packages related to pocketsphinx, but they are reinstalled when I install ffmpeg. I'm not sure why it links to pocketsphinx but I can't get ffmpeg to do anything at all. When I use lddtree it looks like libavfilter is using libpocketsphinx.
I get this error when I try to use ffmpeg to do just about anything.
This command causes the error.
ffmpeg -i file.webm file.mp4
Even this command also causes the error
ffmpeg -h
But I get the same error if I try to convert to any other type of file.
Does anyone know anything I can try to troubleshoot this?
EDIT:
I've determined that I can delete the offending file and run:
sudo apt purge --auto-remove libpocketsphinx3
sudo apt-get install libpocketsphinx3
and it will put the file back in there. But ffmpeg still will not run.
EDIT EDIT:
I can also remove the offending files by purging libpocketsphinx3. After this if I reinstall ffmpeg:
sudo apt-get install ffmpeg
that will put the file back and will generate the error. So this seems to be an issue that's coming in even with a fresh ffmpeg install