ldns-config(1)

ldns-config1

Show compiler and linker flags for ldns usage.

Usage

ldns-config [OPTIONS]

Overview

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

--cflags

Show the C compiler flags needed to compile with ldns

--libs

Show the flags to be used to link with ldns

--version

Shows the ldns version of the installed ldns library

--libversion

Shows version of the binary api of the installed ldns library

--help

Show ldns-config usage description

Releases

3 releases since Debian 7 (Wheezy); the text changed 2 times.

  1. 7
  2. 8
  3. Arch

--libversion since Debian 8 (Jessie).

Author

Written by the ldns team.

Reporting bugs

Report bugs to <[email protected]>.

From ldns 1.9.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.