KRB5-CONFIG(1) | User Commands | KRB5-CONFIG(1) |
krb5-config - 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:
--all
--cflags
--exec-prefix
--help
This is the default.
--libs library
The following library values are supported:
krb5
--prefix
--vendor
--version
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:
0
>0
See attributes(7) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
Interface Stability | Volatile |
June 20, 2021 | OmniOS |