On Tue, Oct 16, 2018 at 12:03:51 +0200, paweg wrote: > I'm trying to install ffmpeg from source using this guide > https://trac.ffmpeg.org/wiki/CompilationGuide/Centos. Getting error in > configure > ERROR: freetype2 not found > manually in command line: > $pkg-config --exists freetype2 || echo 'no lib' > gives me nothing, so it exists. And also: > $pkg-config --cflags freetype2 -I/usr/include/freetype2 $rpm -q freetype > freetype-2.4.2-7.fc14.x86_64 freetype-2.4.2-7.fc14.i686 > It seems like the configure script doesn't pass this pkg-config --exists > command.
It should. It calls: $ test_cmd $pkg_config --exists --print-errors $pkg_version || return in test_pkg_config(), which is called from check_pkg_config(), which is called from require_pkg_config(), which is called from: $ require_pkg_config libfreetype freetype2 "ft2build.h FT_FREETYPE_H" FT_Init_FreeType But it also checks the availability of the function FT_Init_FreeType() in the given headers. Perhaps part of that doesn't work in your install. > Could it be wrong freetype version? How do I check the reason of such > error? I've also tried ffmpeg version 3.1.11, where there is a > special case for libfreetype check in ffmpeg configure. I'm on some > previous Fedora version. Can you show us the first ~2 and the last ~50 lines of ffbuild/config.log? Which version of ffmpeg are you trying to build? Latest git master? Moritz _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".