---
name: "krb4-config"
section: "1"
platform: "linux"
package: "kerberos4kth-clients"
version: "1.2.2-11.2"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/krb4-config"
---

# krb4-config(1)

give information on how to link code against Kerberos v4 libraries

## NAME

**krb4-config** – give information on how to link code against Kerberos v4 libraries

## SYNOPSIS

**krb4-config** \[**--prefix**\[=*dir*\]\] \[**--exec-prefix**\[=*dir*\]\] \[**--libs**\] \[**--cflags**\] \[*libraries*\]

## DESCRIPTION

**krb4-config** tells the application programmer what special flags to use to compile and link programs against the libraries installed by krb4.

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 krb4 libraries.

By default **krb4-config** will output the set of flags and libraries to be used by a normal program using the krb4 API.  The user can also supply a library to be used, the supported ones are:

- krb4

  (the default)

- kadm-client

  use the client-side kadmin libraries

## SEE ALSO

[cc(1)](/cc/1.md)

## HISTORY

**krb4-config** appeared in krb4 1.1
