错误:找不到libmp3lame> = 3.98.3 [英] ERROR: libmp3lame >= 3.98.3 not found
问题描述
我正在安装ffmpeg实用程序,但遇到了libmp3lame >= 3.98.3
not found not found错误.我可以找到lame-3.99.5-1.el6.rf.x86_64.rpm
和lame-libs-3.98.4-1.el6.nux.x86_64.rpm
,但是安装它们并不能解决问题.我找不到要安装的libmp3lame rpm.
I am installing ffmpeg utility, but I am facing libmp3lame >= 3.98.3
not found not found error. I am able to find lame-3.99.5-1.el6.rf.x86_64.rpm
and lame-libs-3.98.4-1.el6.nux.x86_64.rpm
but installing these are not solving the problem. I am not able to find libmp3lame rpm to install.
有人可以在这里帮助我吗?
Can anyone help me here?
[root @ sdp-dev-03:/opt/ffmpeg]#./configure --prefix ="$ HOME/ffmpeg_build"; --extra-cflags ="-I $ HOME/ffmpeg_build/include"; --extra-ldflags ="-L $ HOME/ffmpeg_build/lib"; --bindir =" $ HOME/bin" --extra-libs = -ldl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx --enable-libfaac --enable-libmp3lame --enable-libtheora --enable -libvorbis --enable-libx264 --enable-libvo-aacenc --enable-libxvid --disable-ffplay --enable-gpl --enable-postproc --enable-nonfree --enable-avfilter --enable-pthreads
[root@sdp-dev-03:/opt/ffmpeg] # ./configure --prefix="$HOME/ffmpeg_build" --extra-cflags="-I$HOME/ffmpeg_build/include" --extra-ldflags="-L$HOME/ffmpeg_build/lib" --bindir="$HOME/bin" --extra-libs=-ldl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libvo-aacenc --enable-libxvid --disable-ffplay --enable-gpl --enable-postproc --enable-nonfree --enable-avfilter --enable-pthreads
错误:找不到libmp3lame> = 3.98.3
ERROR: libmp3lame >= 3.98.3 not found
如果您认为配置出错,请确保使用最新的
来自Git的版本.如果最新版本失败,请将该问题报告给
ffmpeg-user@ffmpeg.org
邮件列表或irc.freenode.net
上的IRC #ffmpeg
.
包括日志文件"config.log"由configure生成,因为这将有所帮助
解决问题.
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org
mailing list or IRC #ffmpeg
on irc.freenode.net
.
Include the log file "config.log" produced by configure as this will help
solve the problem.
推荐答案
对我有用的是从源头建立la脚.从此处下载la脚: https://sourceforge.net/projects/lame/files/lame /3.99/,然后解压缩并安装:
What worked for me was building lame from source. Download lame from here: https://sourceforge.net/projects/lame/files/lame/3.99/, then extract and install:
tar -zxvf lame-3.99.5.tar.gz
cd lame-3.99.5
./configure
make
sudo make install
检查一下libmp3lame.a在哪里:
Check to see where libmp3lame.a is:
找到libmp3lame.a
locate libmp3lame.a
它可能在/usr/local/lib中.
Its probably in /usr/local/lib.
现在,当您要配置ffmpeg时,请尝试将该路径添加到./configure字符串的末尾.对我而言,这有所作为.例如:
Now when you go to configure ffmpeg, try adding that path to the end of your ./configure string. For me it made the difference. e.g.:
--extra-ldflags=-L/usr/local/lib
这篇关于错误:找不到libmp3lame> = 3.98.3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!