ERROR: libmp3lame> = 3.98.3 not found

I install the ffmpeg utility, but I encounter an libmp3lame >= 3.98.3error not found. I can find lame-3.99.5-1.el6.rf.x86_64.rpmand lame-libs-3.98.4-1.el6.nux.x86_64.rpm, but installing them does not solve the problem. I can not find libmp3lame rpm to install.

Can someone 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

ERROR: libmp3lame> = 3.98.3 not found

If you think that configure made a mistake, make sure you are using the latest version from Git. If the latest version failed, report the problem to ffmpeg-user@ffmpeg.orgthe mailing list or IRC #ffmpegat irc.freenode.net. Include the "config.log" log file created by configure, as this will help solve the problem.

+4
source share
5 answers

For configuretroubleshooting, see the ffbuild/config.logsource directory ffmpeg.

In my case, it lacked function references libmath, even if it -lmwas installed in host_extralibs.

For a quick fix, add -lmto the configurescript:

enabled libmp3lame        && require "libmp3lame >= 3.98.3" lame/lame.h lame_set_VBR_quality -lmp3lame -lm
+7
source

, , . lame : https://sourceforge.net/projects/lame/files/lame/3.99/, :

tar -zxvf lame-3.99.5.tar.gz 
cd lame-3.99.5
./configure
make
sudo make install

, libmp3lame.a:

libmp3lame.a

, /usr/local/lib.

, ffmpeg, . /configure. . :.

--extra-ldflags=-L/usr/local/lib
+6

. lame v3.99.5 , ffmpeg configure ERROR: libmp3lame >= 3.98.3 .

--extra-ldflags --extra-cflags. , configure:

./configure [...] --enable-libmp3lame [...] --extra-ldflags=-L/usr/local/lib --extra-cflags=-I/usr/local/include
+2

ffmpeg/3.1.3 ( https://github.com/Homebrew/legacy-homebrew/issues/44489) :

--host-ldflags=-L/usr/local/lib

.

0

this is my way: install X11 and goto ffmpeg path and enter the code in Terminal: pkg-config usr / local / lib pkg-config usr / lib pkg-config usr / X11 / lib then the code. / configure xxxx.

0
source

All Articles