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

# [NAME](#NAME)

ldns-config - show compiler and linker flags for ldns usage.

# [SYNOPSIS](#SYNOPSIS)

**ldns-config** \[ *OPTIONS* ]

# [DESCRIPTION](#DESCRIPTION)

When writing programs using ldns, you have to tell the compiler where to look for include files and what libraries from which location to link to. **ldns-config** can be used to find out what flags to use with the C compiler and the linker.

# [OPTIONS](#OPTIONS)

[**--cflags**](#cflags)

Show the C compiler flags needed to compile with ldns

[**--libs**](#libs)

Show the flags to be used to link with ldns

[**--version**](#version)

Shows the ldns version of the installed ldns library

[**--libversion**](#libversion)

Shows version of the binary api of the installed ldns library

[**--help**](#help)

Show **ldns-config** usage description

# [AUTHOR](#AUTHOR)

Written by the ldns team.

# [REPORTING BUGS](#REPORTING_BUGS)

Report bugs to &lt;dns-team@nlnetlabs.nl&gt;.

# [COPYRIGHT](#COPYRIGHT)

Copyright (C) 2011 NLnet Labs. This is free software. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

22 Sep 2011

---

Document: ldns-config(1) from ldns 1.9.2-r2 (Chainguard OS)
Source: https://github.com/NLnetLabs/ldns.git
