ldd(1)

ldd1

List dynamic object dependencies

Usage

ldd program ...

Overview

ldd displays the shared objects needed to run program. ldd uses the DT_NEEDED tags to determine what dynamic objects are required. To list the objects ldd sets the environment variable LD_TRACE_LOADED_OBJECTS and then execs program.

Exit status

The ldd utility exits 0 on success, and >0 if an error occurs.

Releases

61 releases since OpenBSD 2.1; the text changed 10 times.

  1. 2.1
  2. 2.2
  3. 2.3
  4. 2.4–2.7
  5. 2.8
  6. 2.9–3.3
  7. 3.4–4.1
  8. 4.2–4.5
  9. 4.6–4.9
  10. 5.0–5.2
  11. 5.3–8.0

From man 8.0-current-20261101 in OpenBSD 8.0-current (2026-11-01). Parsed by carta from the page's mdoc source.