Sometimes, shit happens, and if you are unlucky, it can be many time in a short period of time! Anyway, following the upgrade of OpenBSD to 7.9 on one of my laptop, I got another issue with missing libraries. I still don't know what happened, but I suspect a problem with pkg_add. While installing a package, this one crashed. Anyway, I will give you a way to fix that. First, let describe the problem.

I wanted to use ffmpeg to extract audio from a video file, but when executing it, here the message I got:

$ ffmpeg

ld.so: ffmpeg: can't load library 'libavfilter.so'

Enter fullscreen mode