ldd
Display shared library dependencies of a binary. Do not use on an untrusted binary, use objdump for that instead. More information: https://manned.org/ldd.
-
Display shared library dependencies of a binary:
ldd {{path/to/binary}}
-
Display all information about dependencies:
ldd --verbose {{path/to/binary}}
-
Display unused direct dependencies:
ldd --unused {{path/to/binary}}
-
Report missing data objects and perform data relocations:
ldd --data-relocs {{path/to/binary}}
-
Report missing data objects and functions, and perform relocations for both:
ldd --function-relocs {{path/to/binary}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.