Introduction to pkg-config

The pkg-config package contains a tool for passing the include path and/or library paths to build tools during the configure and make file execution.

Package Information

User Notes:

Installation of pkg-config

Install pkg-config by running the following commands:

./configure --prefix=/usr &&

To test the results, issue: make check.

Now, as the root user:

make install

Configuring pkg-config

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


Installed Program: pkg-config
Installed Libraries: None
Installed Directories: None

Short Descriptions


returns meta information for the specified library or package.

Last updated on 2006-09-04 01:38:03 -0500