“Ffmpeg: Error While Loading Shared Libraries: Libavdevice.So.52:”

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”

Solution :

It is very simple step to solve your error.

Change your library path by running following command :

ROOT@dollar1hosts[~]# EXPORT LD_LIBRARY_PATH=/USR/LOCAL/LIB/

.
.
.
.

Its done!

Add a Comment

Your email address will not be published. Required fields are marked *