|Skip Navigation Links|
|Exit Print View|
|man pages section 1: User Commands Oracle Solaris 10 1/13 Information Library|
- link against the installed Kerberos libraries
krb5-config [--all | --cflags | --exec-prefix | --help | --libs library | --prefix | --vendor | --version]
krb5-config identifies and displays the special flags that are needed to compile and link programs against the installed Kerberos libraries.
The following options are supported:
Displays the version, vendor, prefix and exec-prefix.
Displays the compiler flags with which Kerberos was built.
Displays the exec-prefix with which Kerberos was built.
Displays the usage message.
This is the default.
Displays compiler options required to link with library.
The following library values are supported:
Kerberos 5 application
Displays the prefix with which Kerberos was built.
Displays the vendor of the installed Kerberos implementation.
Displays the version of the installed Kerberos implementation.
Example 1 Using the --cflags Option
The following example displays the C compiler flags needed to use libkrb5(3LIB):
% krb5-config --cflags -I/usr/include/kerberosv5
Example 2 Using the--libs Option
The following example shows the C compiler options needed to link against libkrb5(3LIB):
% krb5-config --libs -L/usr/lib -R/usr/lib -lkrb5
The following exit values are returned:
An error occurred.
See attributes(5) for descriptions of the following attributes: