1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-03 06:35:24 +02:00
tldr/pages/linux/ldd.md
2025-06-24 21:17:06 +03:00

667 B

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 {{[-v|--verbose]}} {{path/to/binary}}

  • Display unused direct dependencies:

ldd {{[-u|--unused]}} {{path/to/binary}}

  • Report missing data objects and perform data relocations:

ldd {{[-d|--data-relocs]}} {{path/to/binary}}

  • Report missing data objects and functions, and perform relocations for both:

ldd {{[-r|--function-relocs]}} {{path/to/binary}}