my os is mac os x
I can compile and use ffmpeg without libmp3lame , and having no problems, I use below command to compile ffmpeg
sudo ./configure
but when I try it with
sudo ./configure --enable-libmp3lame
It returns error ERROR: libmp3lame >= 3.98.3 not found
However, I have libmp3lame installed on my system.
I installed libmp3lame using brew install lame
and linked with brew link lame.
when I look into config.log to see error messages I got this
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -std=c99 -mdynamic-no-pic -fomit-frame-pointer -fPIC -E -o /tmp/ffconf.V6BXHwIr.o /tmp/ffconf.rMa57AkB.c /tmp/ffconf.rMa57AkB.c:1:10: fatal error: 'lame/lame.h' file not found
So it can not find lame/lame.h but I have lame/lame.h inside /usr/local/include ..
I really stucked on this and searched over internet for many hours,
any help would be greatly appreciated thanks
EDIT =====
I made some progress, now I have compiled ffmpeg witch runs without problems in Android, but I still could not combine it with the libmp3lame