Introduction to pkgconfig

The pkgconfig package contains tools for passing the include path and/or library paths to build tools during the make file execution.

Package information

Installation of pkgconfig

Install pkgconfig by running the following commands:

./configure --prefix=/usr &&
make &&
make install

Configuring pkgconfig

The default setting for PKG_CONFIG_PATH is /usr/lib/pkgconfig because of the prefix used to install pkgconfig. You may add to PKG_CONFIG_PATH by exporting additional paths on your system where pkgconfig files are installed. Note that PKG_CONFIG_PATH is only needed when compiling packages, not during run-time.


The pkgconfig package contains pkg-config.



pkg-config is a function that returns meta information for the specified library.

Last updated on 2005-02-07 19:34:15 -0700