Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

The Tip Show How-to Properly Set the PKG_CONFIG_PATH Env. Variable for Packages Compilation and Installation.

  1. On the Terminal Output You Should Find the Path to Correct pkgconfig.

    If not Look How-to Search for Files on Linux Guide.

  2. SetUp the PKG_CONFIG_PATH Properly:

    PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
    export PKG_CONFIG_PATH