KRB5-CONFIG(1)

πŸ’– KRB5-CONFIG(1) πŸ’–

okay bestie, welcome to the General Commands Manual page for krb5-config β€” she's a little helper script from the Heimdal crew and she's about to become your study buddy ✨


🌸 NAME 🌸

krb5-config β€” she gives you the tea β˜• on how to link your code against the Heimdal libraries 🫢


✨ SYNOPSIS ✨

krb5-config [--prefix[=dir]] [--exec-prefix[=dir]] [--libs] [--cflags]
            [libraries]

πŸ’… DESCRIPTION πŸ’…

so basically krb5-config is the friend who tells the application programmer exactly which special flags to use so they can compile and link their programs against the libraries that Heimdal installed. no guessing, no vibes-only builds, just facts πŸ’–

here's the options she supports, and yes we're doing all of them:

  • --prefix[=dir] β€” if you don't hand her a dir, she prints the prefix. if you do give her a dir, she sets the prefix to dir instead. either way, slay πŸ’…
  • --exec-prefix[=dir] β€” same energy but for exec-prefix: no dir means she prints the exec-prefix, and giving a dir means she sets the exec-prefix to dir. πŸ‘‘
  • --libs β€” she outputs the whole set of libraries you should be linking against. heads up though, this also includes rpath flags, and the expectation is that you're using the C compiler for your final link-edits. no cap, that part matters πŸ”₯
  • --cflags β€” she outputs the set of flags you hand to the C compiler when you're using the Heimdal libraries. compiler food, fr fr 🌸

by default krb5-config spits out the set of flags and libraries that a normal program using the krb5 API would need. but you can also supply a library to be used β€” these are the supported ones, and honestly? iconic lineup:

  • krb5 β€” (this one's the default, she's the main character πŸ‘‘)
  • gssapi β€” use the krb5 gssapi mechanism πŸ¦‹
  • kadm-client β€” use the client-side kadmin libraries πŸ’œ
  • kadm-server β€” use the server-side kadmin libraries ⭐

🌈 SEE ALSO 🌈


πŸŽ€ HISTORY πŸŽ€

krb5-config appeared in Heimdal 0.3d. she's been here since the early days and she ate πŸ’–


bestie reminder: this whole page is from HEIMDAL, dated November 30, 2000 β€” the manual name up top is KRB5-CONFIG(1) in case you were wondering where you are 🫢

okay that's the whole thing, go forth and link your code, you've got this πŸ˜­πŸ’–βœ¨