[FFmpeg-user] libtheora, libmp3lame, vidstab, libvorbis, and libxvid not found on OS X

Moritz Barsnick barsnick at gmx.net
Wed Apr 20 12:51:48 CEST 2016


Disclaimer: I have neither Mac not homebrew. Why it works for other Mac
users I cannot evaluate.

On Tue, Apr 19, 2016 at 22:19:39 -0600, Rodrigo Polo wrote:
> Configuration command:
> 
> ./configure \
> --prefix=/usr/local \
> --enable-gpl \
> --enable-nonfree \
> --enable-libass \
> --enable-libfdk-aac \
> --enable-libfreetype \
> --enable-libopus \
> --enable-libvpx \
> --enable-libx264 \
> --enable-libx265 \
> --enable-libmp3lame \
> --enable-libtheora \
> --enable-libvidstab \
> --enable-libvorbis \
> --enable-libxvid
> 
> Error:
> ERROR: libmp3lame >= 3.98.3 not found
> 
> config.log: http://pastebin.com/F9ejNSiS
> 
> Location of the file missing by the config:
> /usr/local/Cellar/lame/3.99.5/include/lame/lame.h

lame doesn't use pkg-config, so ffmpeg's configure will have to be told
to include /usr/local/Cellar/lame/3.99.5/include in its search paths.

Either homebrew has changed from providing the headers (and libs) in a
standard location, or the instructions are incorrect in omitting that
this needs to be added:
  --extra-cflags="-I/usr/local/Cellar/lame/3.99.5/include" --extra-ldflags="-L/usr/local/Cellar/lame/3.99.5/lib"
(I'm guessing a little bit about the lib location.)

Same (likely) for all the other installed libs which weren't found.

Cheers,
Moritz


More information about the ffmpeg-user mailing list