Web Designing, Web Development, Website Design, Website Development, SEO

0091 98233 72069

COGS: CUSTOMISED, OPTIMISED, GENERALISED WEB DESIGN & WEB DEVELOPMENT SOLUTIONS

libavdevice.so.52: cannot open shared object file:

Please make sure the symbolic links of ffmpeg require libraries are present in “/usr/lib”

Important: You will probably get errors such as: ffmpeg: error while loading shared libraries: libavdevice.so.52: cannot open shared object file, or some other library.

To solve this problem you must create symbolic links. Universal code would go something like this:

ln -s /usr/local/lib/[YOUR LIB NAME]/usr/lib/[YOUR LIB NAME]

For Example ::

ln -s /usr/local/lib/libavformat.so.50 /usr/lib/libavformat.so.50
ln -s /usr/local/lib/libavcodec.so.51 /usr/lib/libavcodec.so.51
ln -s /usr/local/lib/libavutil.so.49 /usr/lib/libavutil.so.49
ln -s /usr/local/lib/libmp3lame.so.0 /usr/lib/libmp3lame.so.0
ln -s /usr/local/lib/libavformat.so.51 /usr/lib/libavformat.so.51