Linux and Unix ldd command

Quick links

About ldd
Syntax
Related commands
Linux and Unix main page

About ldd

List dynamic dependencies of executable files or shared objects.

Syntax

ldd [-d | -r ] [ -f ] [ -i ] [ -l ] [ -s ] [ -v ] filename

-dCheck references to data objects.
-rCheck references to both data objects and functions.
-fForce ldd to check for an executable file that is not secure. When ldd is invoked by a super user, by default, it will not process any executable that it finds not secure. An executable is not considered secure if the interpreter it specifies does not reside under /usr/lib or /etc/lib, or if the interpreter cannot be determined.
-iDisplays the order of execution of initialization sections.
-lForces the immediate processing of any filters so that all filtees, and their dependencies, are listed.
-sDisplays the search path used to locate shared object dependencies.
-vDisplays all dependency relationships incurred when processing filename. This options also displays any dependency version requirements. See pvs.
filenameThe name of the file.

Related commands

ld
pvs