Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

krb5-config(1) [centos man page]

KRB5-CONFIG(1)							   MIT Kerberos 						    KRB5-CONFIG(1)

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
--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 | +------------+------------------------------------------------+ EXAMPLES
krb5-config is particularly useful for compiling against a Kerberos installation that was installed in a non-standard location. For exam- ple, 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 SEE ALSO
kerberos(1), cc(1) AUTHOR
MIT COPYRIGHT
1985-2013, MIT 1.11.3 KRB5-CONFIG(1)

Check Out this Related Man Page

krb5-config(1)							   User Commands						    krb5-config(1)

NAME
krb5-config - link against the installed Kerberos libraries SYNOPSIS
krb5-config [--all | --cflags | --exec-prefix | --help | --libs library | --prefix | --vendor | --version] DESCRIPTION
krb5-config identifies and displays the special flags that are needed to compile and link programs against the installed Kerberos libraries. OPTIONS
The following options are supported: --all Displays the version, vendor, prefix and exec-prefix. --cflags Displays the compiler flags with which Kerberos was built. --exec-prefix Displays the exec-prefix with which Kerberos was built. --help Displays the usage message. This is the default. --libs library Displays compiler options required to link with library. The following library values are supported: krb5 Kerberos 5 application --prefix Displays the prefix with which Kerberos was built. --vendor Displays the vendor of the installed Kerberos implementation. --version Displays the version of the installed Kerberos implementation. EXAMPLES
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 EXIT STATUS
The following exit values are returned: 0 Successful completion. >0 An error occurred. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWkrbu | +-----------------------------+-----------------------------+ |Interface Stability |External | +-----------------------------+-----------------------------+ SEE ALSO
cc(1B), libgss(3LIB), libkrb5(3LIB), attributes(5) SunOS 5.11 18 Apr 2006 krb5-config(1)
Man Page