xref: /freebsd/crypto/krb5/src/man/krb5-config.man (revision 7f2fe78b9dd5f51c821d771b63d2e096f6fd49e9)
Man page generated from reStructuredText.
. . .nr rst2man-indent-level 0 . \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .rstReportMargin pre:
. RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .rstReportMargin post:
.. . RE indent \\n[an-margin]
old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1 new: \\n[rst2man-indent\\n[rst2man-indent-level]]
..
"KRB5-CONFIG" "1" " " "1.21.3" "MIT Kerberos"
NAME
krb5-config - tool for linking against MIT Kerberos libraries
SYNOPSIS
krb5-config [--help | --all | --version | --vendor | --prefix | --exec-prefix | --defccname | --defktname | --defcktname | --cflags | --libs [libraries]]
DESCRIPTION
krb5-config tells the application programmer what flags to use to compile and link programs against the installed Kerberos libraries.
OPTIONS
NDENT 0.0

--help prints a usage message. This is the default behavior when no options are specified.

--all prints the version, vendor, prefix, and exec-prefix.

--version prints the version number of the Kerberos installation.

--vendor prints the name of the vendor of the Kerberos installation.

--prefix prints the prefix for which the Kerberos installation was built.

--exec-prefix prints the prefix for executables for which the Kerberos installation was built.

--defccname prints the built-in default credentials cache location.

--defktname prints the built-in default keytab location.

--defcktname prints the built-in default client (initiator) keytab location.

--cflags prints the compilation flags used to build the Kerberos installation.

--libs [library] prints the compiler options needed to link against library. Allowed values for library are:

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
NINDENT
EXAMPLES
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: NDENT 0.0 NDENT 3.5
shell% krb5-config --libs krb5
-L/opt/krb5/lib -Wl,-rpath -Wl,/opt/krb5/lib -L/usr/local/lib -lkrb5 -lk5crypto -lcom_err
NINDENT NINDENT
SEE ALSO
kerberos(7), cc(1)
AUTHOR
MIT
COPYRIGHT
1985-2024, MIT Generated by docutils manpage writer.
.