Showing posts with label ffmpeg compilation error on CentOS. Show all posts
Showing posts with label ffmpeg compilation error on CentOS. Show all posts

Saturday, December 19, 2015

ffmpeg: error while loading shared libraries: libavdevice.so.55: cannot open shared object file: No such file or directory

ffmpeg compilation error on CentOS 

ffmpeg: error while loading shared libraries: libavdevice.so.55: cannot open shared object file: No such file or directory

After compilation of ffmpeg on Centos, you run the command ffmpeg and you get this error.

Solution :

Open file /etc/ld.so.conf and add the content in it.
sudo nano /etc/ld.so.conf
include ld.so.conf.d/*.conf
/usr/lib
/usr/local/lib

Save file and run command.
ldconfig
Now run the command ffmpeg, you will not get this error.