linux – ffmpeg: error while loading shared libraries: libnppig.so.12: cannot open shared object file on CentOS

I’m trying to install ffmpeg on a CentOS server, but I’m running into a shared library error when I try to run it:

ffmpeg: error while loading shared libraries: libnppig.so.12: cannot open shared object file: No such file or directory

Running ldd shows some missing dependencies:

ldd $(which ffmpeg) | grep libnpp
        libnppig.so.12 => not found
        libnppicc.so.12 => /lib64/libnppicc.so.12
        libnppidei.so.12 => /lib64/libnppidei.so.12
        libnppif.so.12 => not found
        libnppc.so.12 => /lib64/libnppc.so.12

I’ve tried searching for the missing libraries but couldn’t find the correct packages for CentOS. What’s the best way to resolve this issue?

Read more here: Source link