[Ffmpeg-devel] Broken Configure script?

Bret Jordan bret.jordan
Sat Dec 30 07:46:26 CET 2006

I am using ffmpeg-checkout-2006-12-29

The configure script is unable to find libs outside of /usr/lib

I have done:
export PREFIX=/local/media
export PKG_CONFIG_PATH=/local/media/lib/pkgconfig:$PKG_CONFIG_PATH
export LD_LIBRARY_PATH=/local/media/lib:$LD_LIBRARY_PATH

I have even added /local/media/lib to /etc/ld.so.conf (top of the list)

The configure command I am using is:
    CFLAGS="-static" \
        CPPFLAGS="-I$PREFIX/include/" \
        LDFLAGS="-static -L$PREFIX/lib/" \
        ./configure \
            --prefix=$PREFIX \
            --enable-mp3lame \
            --enable-libogg \
            --enable-vorbis \
            --enable-xvid \
            --enable-gpl \
            --enable-x264 \

The error I get is:
ERROR: LAME not found
If you think configure made a mistake, make sure you are using the latest
version from SVN.  If the latest version fails, report the problem to the
ffmpeg-devel at mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.err" produced by configure as this will help
solving the problem.

LAME is in the directory:
[23:44:17] remus
[root]:/local/media/lib-> ll *lame*
-rw-r--r-- 1 root root  453452 Dec 29 22:55 libmp3lame.a
-rwxr-xr-x 1 root root     835 Dec 29 22:55 libmp3lame.la
lrwxrwxrwx 1 root root      19 Dec 29 22:55 libmp3lame.so -> 
lrwxrwxrwx 1 root root      19 Dec 29 22:55 libmp3lame.so.0 -> 
-rwxr-xr-x 1 root root  413218 Dec 29 22:55 libmp3lame.so.0.0.0

For some reason the configure script does not like the CPPFLAGS and 
LDFLAGS variables.


Thanks in advance...  Please cc me directly in response... Thanks.


More information about the ffmpeg-devel mailing list