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!