[FFmpeg-user] Usual buld script fails

Tim Nicholson nichot20 at yahoo.com
Thu Oct 24 16:00:16 CEST 2013


On 24/10/13 14:18, Carl Eugen Hoyos wrote:
> Tim Nicholson <nichot20 <at> yahoo.com> writes:
> 
>> ERROR: libx264 not found
> 
> Now I don't understand:
> Didn't you originally report a linking problem?
> How did you get that far?
> 

I originally reported a build failure, and included a snippet of the end
of config.log which is part of the larger snippet you asked for...

> [...]
> 
>> Only that it wasn't needed before.
> 
> x264 added a dependency. The dependency is always fulfilled 
> when using shared libraries, when using static libraries, 
> we either have to use pkg-config (which we want to avoid if 
> possible) or you have to explain to configure how linking 
> can suceed.
> 
>> I have tried adding it to --extra-ldflags but it makes 
>> no difference.
> 
> Please add your configure line and the relevant part of 
> config.log

./configure \
--extra-version=by_Tim \
--enable-static --disable-shared \
--enable-gpl --enable-nonfree --enable-version3 \
--prefix=$SYSROOT/usr/local \
--libdir=$SYSROOT/usr/local/lib64 \
--samples="../fate-suite/" \
 \
--enable-runtime-cpudetect \
--extra-cflags="-static -I$SYSROOT/usr/local/include" \
--extra-ldflags="-static -L$SYSROOT/usr/local/lib64 -ldl" \
--progs-suffix="_$build_date" \
 \
--disable-ffserver \
--enable-libfaac \
--enable-libfdk-aac \
--enable-libx264 \
--enable-libfreetype \
--enable-opencl \
--disable-ffplay \


# ./configure --extra-version=by_Tim --enable-static --disable-shared
--enable-gpl --enable-nonfree --enable-version3
--prefix=/mnt/msds-store-0/tim/ffmpeg-tux/usr/local
--libdir=/mnt/msds-store-0/tim/ffmpeg-tux/usr/local/lib64
--samples=../fate-suite/ --enable-runtime-cpudetect
--extra-cflags='-static
-I/mnt/msds-store-0/tim/ffmpeg-tux/usr/local/include'
--extra-ldflags='-static
-L/mnt/msds-store-0/tim/ffmpeg-tux/usr/local/lib64 -ldl'
--progs-suffix=_Oct-24 --disable-ffserver --enable-libfaac
--enable-libfdk-aac --enable-libx264 --enable-libfreetype
--enable-opencl --disable-ffplay



> 
> Carl Eugen
> [..]


-- 
Tim


More information about the ffmpeg-user mailing list