[FFmpeg-devel] configure: ERROR: x265 not found using pkg-config

James Almer jamrial at gmail.com
Sun Nov 12 22:10:23 EET 2017


On 11/12/2017 4:35 PM, Helmut K. C. Tessarek wrote:
> I get the following error during configure:
> 
> ERROR: x265 not found using pkg-config
> 
> My last compile run (3 days ago) worked perfectly. Somebody must have
> changed the configure script.
> 
> Cheers,
>   K. C.
> 

Does this fix it for you?

diff --git a/configure b/configure
index 2f026c45bc..2a7b846a6d 100755
--- a/configure
+++ b/configure
@@ -1293,8 +1293,8 @@ test_pkg_config(){
 check_pkg_config(){
     log check_pkg_config "$@"
     name="$1"
-    test_pkg_config "$@" &&
-        eval add_cflags \$${name}_cflags
+    test_pkg_config "$@" || return 1
+    eval add_cflags \$${name}_cflags
 }

 check_exec(){

If not, you'll have to give me more info, like the config.log file, but
for that open a trac ticket.


More information about the ffmpeg-devel mailing list