6.18. Pkg-config-0.25

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.

Approximate build time: 0.3 SBU
Required disk space: 11.5 MB

6.18.1. Installation of Pkg-config



Pkg-Config will use an included version of Popt to parse command line options. If an external version of Popt is desired, install that version using the BLFS Popt build instructions before installing Pkg-config.

Prepare Pkg-config for compilation:

./configure --prefix=/usr

Compile the package:


To test the results, issue:

make check

Install the package:

make install

6.18.2. Contents of Pkg-config

Installed program: pkg-config

Short Descriptions


Returns meta information for the specified library or package.