Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

krb5-config(1) [freebsd 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)							   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)
Man Page