[FFmpeg-user] Error building ffmpeg with x265 support

Carl Eugen Hoyos ceffmpeg at gmail.com
Wed Feb 7 01:33:41 EET 2018

2018-02-06 6:13 GMT+01:00 David Turner <kc7zvl-at-yahoo.com at ffmpeg.org>:
> I worked my through the tutorial on compiling ffmpeg with h.265 support found at https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu. The last thing it instructed me to do is
> PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure   --prefix="$HOME/ffmpeg_build"   --pkg-config-flags="--static"   --extra-cflags="-I$HOME/ffmpeg_build/include"   --extra-ldflags="-L$HOME/ffmpeg_build/lib"   --extra-libs="-lpthread -lm"   --bindir="$HOME/bin"   --enable-gpl   --enable-libass   --enable-libfdk-aac   --enable-libfreetype   --enable-libmp3lame   --enable-libopus   --enable-libtheora   --enable-libvorbis   --enable-libvpx   --enable-libx264   --enable-libx265   --enable-nonfree
> to which I got the following error:
> ERROR: x265 not found using pkg-config
> 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 "ffbuild/config.log" produced by configure as this will help
> solve the problem.
> Per the request above I am including the config.log file for your kindly review.

> /usr/bin/ld: cannot find -lnuma

I don't know libnuma, feel free to verify that it is part of x265's
pkgconfig file
and that it was installed when you installed x265.

Carl Eugen

More information about the ffmpeg-user mailing list