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

freealut-config(1)					      General Commands Manual						freealut-config(1)

NAME
freealut-config - script to get information about the installed version of freealut SYNOPSIS
freealut-config [ --prefix= DIR] [ --exec-prefix= DIR] [ --version ] [ --libs ] [ --cflags ] DESCRIPTION
freealut-config is a tool that is used to configure and determine the compiler and linker flags that should be used to compile and link progams, libraries, and plugins that use freealut. The use of freealut-config is deprecated. The more generic tool pkg-config should be used instead. OPTIONS
--cflags Print the compiler flags that are necessary to compile a program or library that uses freealut. --exec-prefix=DIR If specified, use DIR instead of the installation exec prefix that freealut was build with when computing the output for the --cflags and --libs options. This option must be specified before any of the --cflags and --libs options. --libs Print the linker flags that are necessary to link a program or library that uses freealut. --prefix=DIR If specified, use PREFIX instead of the installation prefix that freealut was built with when computing the output for the --cflags and --libs options. This option is also used for the exec prefix if --exec-prefix was not specified. This option must be specified before any of the --cflags and --libs options. --version Prints the currently installed version of freealut on standard output. EXAMPLES
gcc -o main.o $(freealut-config --cflags) -c main.c is how you might use freealut-config to compile a C source file for an executable program. gcc -o my_app $(freealut-config --libs) main.o util.o is how you might use freealut-config to link compiled objects into an executable program. SEE ALSO
pkg-config(1) This manual page was written for sdl-config by Branden Robinson, originally for Progeny Linux Systems, Inc., and the Debian Project. It was adapted to freealut by Sam Hocevar. freealut 2003-11-22 freealut-config(1)
Man Page