# haampie/libtree

ldd as a tree

Repository: https://github.com/haampie/libtree
Canonical: https://ross.abutalabs.com/products/libtree
Language: C
License: MIT
License Family: permissive
Last push: 2024-06-21T12:53:49+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2342, "days_push": 803, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2770, forks 64 (observed 2026-08-28T04:07:18.902545+00:00)

## What it is
A small C command-line utility that renders the output of ldd as a tree of shared library dependencies. It also explains how each library was resolved or why it could not be located.

## Use cases
- visualize shared library dependencies of an executable as a tree
- debug why a shared library cannot be found at runtime
- inspect which sonames or paths ldd resolves for a binary
- find duplicate or redundant library dependencies in a build
- check dynamic linking issues before deploying a binary to another machine

## When to choose
- you are on Linux and want a clearer, tree-shaped alternative to ldd
- you need to diagnose missing or unexpectedly resolved shared libraries
- you want a tiny static binary with no runtime dependencies

## When to avoid
- you need dependency analysis for non-ELF binaries or non-Linux platforms
- you want package-level dependency graphs rather than ELF shared library resolution
- you need a GUI or continuous dependency monitoring tool

## Facets
- artifact type: cli-tool
- maturity: stable
- function: developer-tools, cli, file-system
- domain: developer-tools, operating-systems
- platform: cli
- tags: ldd, shared-libraries, dependency-tree, elf, linker, dynamic-linking, debugging, command-line, linux

## Member repositories
- haampie/libtree (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:18.902545+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:16:40.579808+00:00, confidence not recorded.
  - readme: https://github.com/haampie/libtree (fetched 2026-08-28T04:07:18.902545+00:00, sha 109adafc4973)
- Data as of 2026-08-30T08:39:29.467469+00:00.
