[FFmpeg-user] ERROR: libx264 not found
littlebat
dashing.meng at gmail.com
Tue Aug 13 02:36:34 CEST 2013
On Mon, 12 Aug 2013 15:42:00 +0800
jiang.hu at Sunmedia.com.cn wrote:
> Dears,
>
> I have a quest for ffmpeg compile.
>
> [jiang.hu at cdoa06 ~/x264-snapshot-20130808-2245]$ make install
> install -d /home/jiang.hu/dist/bin
> install x264 /home/jiang.hu/dist/bin
> install -d /home/jiang.hu/dist/include
> install -d /home/jiang.hu/dist/lib
> install -d /home/jiang.hu/dist/lib/pkgconfig
> install -m 644 ./x264.h /home/jiang.hu/dist/include
> install -m 644 x264_config.h /home/jiang.hu/dist/include
> install -m 644 x264.pc /home/jiang.hu/dist/lib/pkgconfig
> install -m 644 libx264.a /home/jiang.hu/dist/lib
> ranlib /home/jiang.hu/dist/lib/libx264.a
> [jiang.hu at cdoa06 ~/x264-snapshot-20130808-2245]$ cd ..
> [jiang.hu at cdoa06 ~]$ cd ffmpeg-2.0/
> [jiang.hu at cdoa06 ~/ffmpeg-2.0]$ ./configure --disable-avdevice
> --disable-yasm --enable-muxers --enable-demuxers --enable-shared
> --disable-static --enable-avcodec --enable-libx264 --enable-gpl
> --prefix=/home/jiang.hu/dist
> ERROR: libx264 not found
>
> If you think configure made a mistake, make sure you are using the
> latest version from Git. If the latest version fails, report the
> problem to the ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on
> irc.freenode.net. Include the log file "config.log" produced by
> configure as this will help solving the problem.
>
> entironment variable:
> setenv PKG_CONFIG_PATH /home/jiang.hu/dist/lib/pkgconfig
> setenv LD_LIBRARY_PATH /home/jiang.hu/dist/lib
You install libx264 into a non-standard place. Try:
[jiang.hu at cdoa06 ~/ffmpeg-2.0]$ ./configure --disable-avdevice
--disable-yasm --enable-muxers --enable-demuxers --enable-shared
--disable-static --enable-avcodec --enable-libx264 --enable-gpl
--prefix=/home/jiang.hu/dist
--extra-cflags="-I/home/jiang.hu/dist/include"
--extra-ldflags="-L/home/jiang.hu/dist/lib"
More information about the ffmpeg-user
mailing list