[FFmpeg-user] ERROR: zimg >= 2.7.0 not found using pkg-config

Matt C asperi at hotmail.com
Fri Jan 14 16:40:14 EET 2022

Only real info I could find is
[WORKAROUND] ERROR: zimg >= 2.7.0 not found using pkg-config · Issue #291 · rdp/ffmpeg-windows-build-helpers · GitHub<https://github.com/rdp/ffmpeg-windows-build-helpers/issues/291>
I tried to do a clean build today from newly cloned repo and ran across this issue with zimg. I found an earlier issue that mentioned zimg and a similar error, but that was in reference to v2.6.0 of zimg. It seems the dependency is now v...

I cannot find a zimg version 2.7.0 anywhere.  In the work around above is says to:

Temporary fix:

Change line 624 of cross_compile_ffmpeg.sh from

do_git_checkout https://github.com/sekrit-twc/zimg.git zimg_git c1689d4b9abbf4becadcbd4f436e2f3b2bf1c2f1


do_git_checkout https://github.com/sekrit-twc/zimg.git zimg_git 8e87f5a4b88e16ccafb2e7ade8ef454aeac19094

and run cross_compile_ffmpeg.sh again,

This will update libzimg to this commit (and to V2.7.x)

But pretty sure the sekrit-twc/zimg git is for Windows, I am on Ubuntu 20.04..

In usr/local  I have:
bin  etc  games  include  lib  man  sbin  share  src  srs

In /usr/Bin:
ffmpeg    klvanc_eia708      klvanc_scte104 klvanc_util
ffprobe     klvanc_genscte104  klvanc_smpte12_2  meson
klvanc_afd  klvanc_parse       klvanc_smpte2038

In /usr/Include: just libklvanc folder

In  /usr/local/lib: libklvanc.a  libklvanc.la  python2.7  python3.8

Not seeing a pkg-config file anywhere..

From: ffmpeg-user <ffmpeg-user-bounces at ffmpeg.org> on behalf of Adam Nielsen via ffmpeg-user <ffmpeg-user at ffmpeg.org>
Sent: Friday, January 14, 2022 9:09 AM
To: ffmpeg-user at ffmpeg.org <ffmpeg-user at ffmpeg.org>
Cc: Adam Nielsen <a.nielsen at shikadi.net>
Subject: Re: [FFmpeg-user] ERROR: zimg >= 2.7.0 not found using pkg-config

> Hi, when compiling, is there a good way to fix the
> ERROR: zimg >= 2.7.0 not found using pkg-config
> Was using this guide
> https://zimg.buaa.us/documents/install/

That tells you to configure things to install into /usr/local (which is
a good idea), but have you then configured pkg-config to look in
/usr/local/lib/pkgconfig as well?  Often it won't look in the
/usr/local prefix by default.

I can't remember how to configure it off the top of my head but the
instructions will only be a Google away.

ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org

To unsubscribe, visit link above, or email
ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

More information about the ffmpeg-user mailing list