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

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: libavdevice.so.52: cannot open shared object file: No such file or directory”

 

Error-and-Solution

 

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!