ldd
Display shared library dependencies of a binary. tldr-pages
On Linux
Linux
Display shared library dependencies of a binary. Do not use on an untrusted binary, use objdump for that instead.
Display shared library dependencies of a binary
ldd path/to/binaryIdentifyDisplay all information about dependencies
ldd --verbose path/to/binaryIdentifyDisplay unused direct dependencies
ldd --unused path/to/binaryIdentifyReport missing data objects and perform data relocations
ldd --data-relocs path/to/binaryIdentifyReport missing data objects and functions, and perform relocations for both
ldd --function-relocs path/to/binaryIdentify