KRB5-CONFIG(1) | MIT Kerberos | KRB5-CONFIG(1) |
krb5-config - tool for linking against MIT Kerberos libraries
krb5-config [--help | --all | --version | --vendor | --prefix | --exec-prefix | --defccname | --defktname | --defcktname | --cflags | --libs [libraries]]
krb5-config tells the application programmer what flags to use to compile and link programs against the installed Kerberos libraries.
krb5 | Kerberos 5 applications (default) |
gssapi | GSSAPI applications with Kerberos 5 bindings |
kadm-client | Kadmin client |
kadm-server | Kadmin server |
kdb | Applications that access the Kerberos database |
krb5-config is particularly useful for compiling against a Kerberos installation that was installed in a non-standard location. For example, a Kerberos installation that is installed in /opt/krb5/ but uses libraries in /usr/local/lib/ for text localization would produce the following output:
shell% krb5-config --libs krb5 -L/opt/krb5/lib -Wl,-rpath -Wl,/opt/krb5/lib -L/usr/local/lib -lkrb5 -lk5crypto -lcom_err
MIT
1985-2020, MIT
1.18.3 |