Unix/Linux Go Back    

OpenSolaris 2009.06 - man page for krb5-config (opensolaris section 1)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

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

       krb5-config - link against the installed Kerberos libraries

	    [--all | --cflags | --exec-prefix | --help | --libs library |
	     --prefix | --vendor | --version]

       krb5-config  identifies and displays the special flags that are needed to compile and link
       programs against the installed Kerberos libraries.

       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.

       Example 1 Using the --cflags Option

       The following example displays the C compiler flags needed to use libkrb5(3LIB):

	 % krb5-config --cflags

       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

       The following exit values are returned:

       0     Successful completion.

       >0    An error occurred.

       See attributes(5) for descriptions of the following attributes:

       |      ATTRIBUTE TYPE	     |	    ATTRIBUTE VALUE	   |
       |Availability		     |SUNWkrbu			   |
       |Interface Stability	     |External			   |

       cc(1B), libgss(3LIB), libkrb5(3LIB), attributes(5)

SunOS 5.11				   18 Apr 2006				   krb5-config(1)
Unix & Linux Commands & Man Pages : 2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 06:35 PM.