linux centos 安装 ffmpeg 错误解决

*** Could not run Ogg test program, checking why... *** The test program compiled, but did not run. This usually means *** that the run-time linker is not finding Ogg or finding the wrong *** version of Ogg. If it is not finding Ogg, you'll need to set your *** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point *** to the installed location  Also, make sure you have run ldconfig if that *** is required on your system *** *** If you have an old version installed, it is best to remove it, although *** you may also be able to get things to work by modifying LD_LIBRARY_PATH

configure: error: must have Ogg installed!

 

已经安装了libogg 然后安装libvorbis 报错。提示must have Ogg installed!。可以执行以下命令解决:

echo /usr/local/lib >> /etc/ld.so.conf; ldconfig

 

 

ERROR: vorbis not found using pkg-config

vi /etc/profile 

文件最后面 添加 

export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig"

退出保持 

source /etc/profile

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值