[FFmpeg-user] ffmpeg > 5.0 refuses to build with x264-static

Reindl Harald h.reindl at thelounge.net
Thu Mar 2 00:47:28 EET 2023



Am 01.03.23 um 16:48 schrieb Ferdi Scholten:
> unchanged nonsense with 6.0.0
>>
>> [builduser at testserver:/rpmbuild/SPECS]$ ls 
>> /rpmbuild/BUILD/ffmpeg-20230301/x264-static/
>> total 2.6M
>> drwxr-xr-x 2 builduser builduser   60 2023-03-01 15:44 pkgconfig
>> -rw-r--r-- 1 builduser builduser 2.6M 2023-03-01 15:44 libx264.a
>> -rw-r--r-- 1 builduser builduser  48K 2023-03-01 15:44 x264.h
>> -rw-r--r-- 1 builduser builduser  172 2023-03-01 15:44 x264_config.h
>>
>> ERROR: x264 not found using pkg-config
>>
> Apparently it looks like the directory containing x264.pc (most likely 
> in /rpmbuild/BUILD/ffmpeg-20230301/x264-static/pkgconfig) can not be found
> either the file is not in there, or the directory is not in your 
> PKG_CONFIG_PATH environment variable. Simply add the location x264.pc to 
> this variable and it should work
and why is this now needed after 10 years?

i mean what is the problem linking libx264.a static as before when the 
path is defcined in the configure string?


More information about the ffmpeg-user mailing list