pkg-config

pkg-config is a helper tool used when compiling applications and libraries. It helps you insert the correct compiler options on the command line. This metadata is stored in pkg-config files. These files have the suffix .pc and reside in specific locations known to the pkg-config tool.

Availability and Restrictions

Versions

The following versions of pkg-config are available on OSC clusters:

VERSION OAKLEY
0.28 X*
*: Default Version

You can use  module spider pkg-config  to view available modules for a given machine. Feel free to contact OSC Help if you need other versions for your work.

Access

pkg-config is available to all OSC users without restriction.

Usage

Usage on Oakley

Set-up on Oakley

To configure your environment for use of pkg-config on Oakley, run the following command:  module load pkg-config . The default version will be loaded. To select a particular pkg-config version, use  module load pkg-config/version . For example, use module load pkg-config/0.28  to load pkg-config 0.28 on Oakley.

Further Reading

Service: