ffmpeg: error while loading shared libraries: libavdevice.so.57: cannot open shared object ..

 

::::::

sudo leafpad /etc/ld.so.conf

/usr/local/ffmpeg 目录是我ffmpeg安装目录,根据你的安装目录改吧

sudo ldconfig

 

:::::::::

sudo leafpad /etc/profile

export PATH="/usr/local/ffmpeg/bin:$PATH"

 

然后保存并运行source /etc/profile

posted @ 2020-10-22 02:47  YZFHKMS-X  阅读(556)  评论(0编辑  收藏  举报