Package: pkg-config:amd64 Version: 1.8.0-12 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. Current output $ pkg-config --modversion gthread-2.0 Package gthread-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gthread-2.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gthread-2.0', required by 'virtual:world', not found
Workaround $ env PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/lib/x86_64-linux-gnu/pkgconfig/" pkg-config --modversion gthread-2.0 2.74.4 Expected output $ pkg-config --modversion gthread-2.0 2.74.4 The problem is that pkg-config does not know anything about this directory since it is not present in its default search directories $ pkg-config --variable pc_path pkg-config /usr/local/lib/i386-linux-gnu/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig I am using Debian GNU/Linux 6.0.12-1 (2022-12-09), kernel 6.0.0-6-amd64 and libc6 2.36-7. Att, Allan Krama GuimarĂ£es