1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-03 12:55:23 +02:00
tldr/pages/linux/ldd.md

26 lines
667 B
Markdown
Raw Normal View History

2017-08-13 17:51:01 +05:30
# ldd
2022-10-15 05:12:54 -08:00
> 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>.
2017-08-13 17:51:01 +05:30
- Display shared library dependencies of a binary:
`ldd {{path/to/binary}}`
2022-10-15 05:12:54 -08:00
- Display all information about dependencies:
2025-06-24 21:17:06 +03:00
`ldd {{[-v|--verbose]}} {{path/to/binary}}`
2022-10-15 05:12:54 -08:00
2017-08-13 17:51:01 +05:30
- Display unused direct dependencies:
2025-06-24 21:17:06 +03:00
`ldd {{[-u|--unused]}} {{path/to/binary}}`
2022-10-15 05:12:54 -08:00
- Report missing data objects and perform data relocations:
2025-06-24 21:17:06 +03:00
`ldd {{[-d|--data-relocs]}} {{path/to/binary}}`
2022-10-15 05:12:54 -08:00
- Report missing data objects and functions, and perform relocations for both:
2025-06-24 21:17:06 +03:00
`ldd {{[-r|--function-relocs]}} {{path/to/binary}}`