Error While installing FFMPEG on CentOS server “ffmpeg: error while loading shared libraries:”

After installing FFMPEG on one of my client server, the above error apears whenrunning ffmpeg for the first time.


Error :


“ffmpegffmpeg: error while loading shared libraries: cannot open shared object file: No such file or directory”




Solution :


It is very simple step to solve your error.

Only Change your library path by running following command :


root@hostdens[~]# export LD_LIBRARY_PATH=/usr/local/lib/


Its done!



Vishwajit Kale

Vishwajit Kale blazed onto the digital marketing scene back in 2015 and is the digital marketing strategist of Hostdens, a company that aims to provide reliable web hosting solutions. Vishwajit is experienced in digital and content marketing along with SEO. He's fond of writing technology blogs, traveling and reading.