Archive for July, 2009

 

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

Saturday, July 11th, 2009

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

Site map | Blog
Copyright © 2008, COG IT Solutions Pvt. Ltd. All Rights Reserved
XHTML Validated