Attention
GPU users: GPU nodes run EL9, while this documentation still reflects the EL7 software stack.
Run module avail on an EL9 login node, or within an interactive session on the relevant GPU type, to see the software available.
The documentation will be updated once all nodes have migrated to EL9.
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 so an application can use gcc -o test test.c pkg-config –libs –cflags glib-2.0 for instance, rather than hard-coding values on where to find glib (or other libraries).
Note
This is an autogenerated page, more detail including examples may be available for this package. Please see the first section of Software on Stanage
After connecting to Stanage (see Establishing a SSH connection), start an interactive session with the following command:
srun --pty bash -i
A version of pkg-config can then be made available with one of the following:
module load pkg-config/0.29.2-GCCcore-11.3.0
module load pkg-config/0.29.2-GCCcore-11.2.0
module load pkg-config/0.29.2-GCCcore-10.3.0
module load pkg-config/0.29.2-GCCcore-10.2.0
module load pkg-config/0.29.2-GCCcore-9.3.0
module load pkg-config/0.29.2-GCCcore-7.3.0
module load pkg-config/0.29.2-GCCcore-6.4.0
module load pkg-config/0.29.2-GCCcore-11.2.0
module load pkg-config/0.29.2-GCCcore-10.2.0
Notes
pkg-config was installed using Easybuild, build details can be found in $EBROOTPKGMINCONFIG/easybuild with a given module loaded.