Monday, August 27, 2007

About ldd

List dynamic dependencies of executable files or shared objects.

Syntax

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

-d Check references to data objects.
-r Check references to both data objects and functions.
-f Force 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.
-i Displays the order of execution of initialization sections.
-l Forces the immediate processing of any filters so that all filtees, and their dependencies, are listed.
-s Displays the search path used to locate shared object dependencies.
-v Displays all dependency relationships incurred when processing filename. This options also displays any dependency version requirements. See pvs.
filename The name of the file.

No comments: