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

ffmpeg正常安装后执行ffmpeg时出现如下错误:

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

解决办法:

vi /etc/ld.so.conf

#原文加入:/usr/local/lib



加入自己编译ffmpeg的路径/lib

执行ldconfig

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章