指点成金-最美分享吧

登录

/usr/bin/ld: warning: libavformat.so.57, needed by /home/camera.so, not found (try using -rpath or -

佚名 举报

篇首语:本文由小编为大家整理,主要介绍了/usr/bin/ld: warning: libavformat.so.57, needed by /home/camera.so, not found (try using -rpath or -相关的知识,希望对你有一定的参考价值。

ffmpeg中,使用libavformt.so.57时,查找不到。

解决方案:

修改ld.so.conf文件,添加路径。

 

sudo gedit /etc/ld.so.conf

在文件末尾添加路径

/usr/local/ffmpeg/lib

 

然后执行命令

sudo ldconfig

以上是关于/usr/bin/ld: warning: libavformat.so.57, needed by /home/camera.so, not found (try using -rpath or -的主要内容,如果未能解决你的问题,请参考以下文章