mxcl/homebrew — Issue #8742: ffmpeg fail to install
Author: michelpereira
Created: 2011-11-23 00:28:10+00:00
State: open

Brew fails to compile ffmpeg with this error:

/usr/bin/gcc-4.2 -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -O3 -march=core2 -w -pipe -std=c99 -fomit-frame-pointer -fPIC -c -o /tmp/ffconf.aknZy7BT.o /tmp/ffconf.zc0NfcAS.c
/usr/bin/gcc-4.2 -Wl,-dynamic,-search_paths_first -o /tmp/ffconf.nFut6yJK /tmp/ffconf.aknZy7BT.o -lmp3lame -lfaac -lm -lbz2 -lz
ld: warning: ignoring file /usr/lib/libmp3lame.dylib, missing required architecture x86_64 in file
Undefined symbols for architecture x86_64:
"_lame_set_VBR_quality", referenced from:
_main in ffconf.aknZy7BT.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
ERROR: libmp3lame >= 3.98.3 not found

Here is the Gist: https://gist.github.com/1387536