The Tip Show How-to Properly Set the PKG_CONFIG_PATH Env. Variable for Packages Compilation and Installation.
-
On the Terminal Output You Should Find the Path to Correct pkgconfig.
If not Look How-to Search for Files on Linux Guide.
-
SetUp the PKG_CONFIG_PATH Properly:
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
export PKG_CONFIG_PATH