Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ffmpeg error in linux [closed]

Any help on how I can solve this error: ffmpeg: error while loading shared libraries: libavdevice.so.52: cannot open shared object file: No such file or directory

like image 691
NaijaProgrammer Avatar asked Oct 15 '12 18:10

NaijaProgrammer


1 Answers

Basically, to find the file:

sudo find / -name libavdevice.so.52

For example, you've found this file in the /usr/local/lib. Next include that library into your library path. Add this to your /etc/ld.so.conf:

/usr/local/lib

And finally after modifying this file run this:

sudo ldconfig

Reference: Ffmpeg: error while loading shared libraries: libavdevice.so.52: cannot open shared object file

like image 78
Chris Forrence Avatar answered Nov 20 '22 01:11

Chris Forrence