0
点赞
收藏
分享

微信扫一扫

error while loading shared libraries: libavformat.so.56

耶也夜 2022-07-29 阅读 149

一、报错:error while loading shared libraries: libavformat.so.56: cannot open shared object file: No such file or directory

  1、解决:在ld.so.conf文件中,加入FFmpeg安装lib路径

sudo vi /etc/ld.so.conf

加入:/usr/local/ffmpeg/lib/(根据自己的路径做出更改)

  2、完成后执行如下命令

sudo

 



举报

相关推荐

0 条评论