On Fri, 6 Jan 2023 20:50:30 -0300 Allan <allan4...@gmail.com> wrote:
When I try to check for a package using pkg-config it is not
able to find the package even that it is properly installed.
Workaround
$ env PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/lib/x86_64-linux-gnu/pkgconfig/" 
pkg-config --modversion gthread-2.0
2.74.4

You didn’t use reportbug to file this bug report, so I cannot verify it from the list of dependencies, but it seems that you have pkgconf-bin:i386 installed on your system instead of pkgconf-bin:amd64. This is what causes pkgconf or pkg-config to default to the i386 flags.

A better workaround would be to call pkg-config or pkgconf but annotating the command with the architecture name, in your case x86_64-linux-gnu-pkg-config or x86_64-linux-gnu-pkgconf.

--
Cheers,
  Andrej

Reply via email to