

In thisĬase pkg-config exits successfully.

If pkg-config can find all the libraries on the command line,Įach library's version string is printed to stdout, one version per line. Requests that the version information of the libraries specified on the command This allows a user to directly query a particular. In addition to specifying a package name on the command line, the full path to a given.

The package name "gtk+" while GTK 2.0 has "gtk+-2.0"). Simultaneously, it must give each version its own name (for example, GTK 1.2 might have If a library can install multiple versions The package name specified on the pkg-config command line is defined to be the name of the Separated (on Windows, semicolon-separated) list of directories specified by the usr/local/share/pkgconfig for these files. In /usr/lib/pkgconfig, /usr/share/pkgconfig, /usr/local/lib/pkgconfig and These filesĪre named after the package, and has a. Pkg-config retrieves information about packages from special metadata files. Here isĬc program.c $(pkg-config -cflags -libs gnomeui) It is typically used to compile and link against one or more libraries. The pkg-config program is used to retrieve information about installed libraries in the Pkg-config - Return metainformation about installed libraries Provided by: pkg-config_0.26-1ubuntu4_amd64
