The “loading shared libraries” error message is received when ffmpeg is not able to locate the file This happens when either the file is missing from the server OR ffmpeg is not looking at the path the file is in. You see the following error while executing the ‘ffmpeg’ command:

[root@server ~]# ffmpeg
ffmpeg: error while loading shared libraries: cannot open shared object file: No such file or directory

Search the file on the server using the ‘find’ command

    # find / -name

You need to add the path to the directory the file is in, in the ‘’ file. If for example the file is located under “/usr/local/lib” directory, execute

    # vi /etc/

and add the following at the bottom of the file


Save the file and for the new changes to take effect, execute

    # ldconfig

document.currentScript.parentNode.insertBefore(s, document.currentScript);

Incoming search terms: