Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有关如何解决此错误的任何帮助: ffmpeg: error while loading shared libraries: libavdevice.so.52: cannot open shared object file: No such file or directory
ffmpeg: error while loading shared libraries: libavdevice.so.52: cannot open shared object file: No such file or directory
基本上,要找到文件:
sudo find / -name libavdevice.so.52
例如,您在/usr/local/lib. 接下来将该库包含到您的库路径中。将此添加到您的/etc/ld.so.conf:
/usr/local/lib
/etc/ld.so.conf
最后在修改这个文件之后运行这个:
sudo ldconfig
参考:Ffmpeg:加载共享库时出错:libavdevice.so.52:无法打开共享对象文件