Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

krb5-config(1) [mojave man page]

KRB5-CONFIG(1)						    BSD General Commands Manual 					    KRB5-CONFIG(1)

NAME
krb5-config -- give information on how to link code against Heimdal libraries SYNOPSIS
krb5-config [--prefix[=dir]] [--exec-prefix[=dir]] [--libs] [--cflags] [libraries] DESCRIPTION
krb5-config tells the application programmer what special flags to use to compile and link programs against the libraries installed by Heim- dal. Options supported: --prefix[=dir] Print the prefix if no dir is specified, otherwise set prefix to dir. --exec-prefix[=dir] Print the exec-prefix if no dir is specified, otherwise set exec-prefix to dir. --libs Output the set of libraries that should be linked against. --cflags Output the set of flags to give to the C compiler when using the Heimdal libraries. By default krb5-config will output the set of flags and libraries to be used by a normal program using the krb5 API. The user can also sup- ply a library to be used, the supported ones are: krb5 (the default) gssapi use the krb5 gssapi mechanism kadm-client use the client-side kadmin libraries kadm-server use the server-side kadmin libraries SEE ALSO
cc(1) HISTORY
krb5-config appeared in Heimdal 0.3d. HEIMDAL
November 30, 2000 HEIMDAL

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