1LDD(1)                     Linux Programmer's Manual                    LDD(1)
2
3
4

NAME

6       ldd - print shared library dependencies
7

SYNOPSIS

9       ldd [OPTION]... FILE...
10

DESCRIPTION

12       ldd  prints  the  shared  libraries  required by each program or shared
13       library specified on the command line.
14

OPTIONS

16       --version
17              Print the version number of ldd.
18
19       -v --verbose
20              Print all information, including, for example, symbol versioning
21              information.
22
23       -u --unused
24              Print unused direct dependencies.  (Since glibc 2.3.4.)
25
26       -d --data-relocs
27              Perform relocations and report any missing objects (ELF only).
28
29       -r --function-relocs
30              Perform  relocations  for  both  data objects and functions, and
31              report any missing objects or functions (ELF only).
32
33       --help Usage information.
34

NOTES

36       The standard version of ldd comes with  glibc2.   Libc5  came  with  an
37       older version, still present on some systems.  The long options are not
38       supported by the libc5 version.  On the other hand, the glibc2  version
39       does not support -V and only has the equivalent --version.
40
41       The  libc5 version of this program will use the name of a library given
42       on the command line as-is when it contains a '/'; otherwise it searches
43       for  the  library  in  the  standard  locations.  To run it on a shared
44       library in the current directory, prefix the name with "./".
45

BUGS

47       ldd does not work on a.out shared libraries.
48
49       ldd does not work with some extremely old  a.out  programs  which  were
50       built  before  ldd  support was added to the compiler releases.  If you
51       use ldd on one of these programs, the program will attempt to run  with
52       argc = 0 and the results will be unpredictable.
53

SEE ALSO

55       ld.so(8), ldconfig(8)
56

COLOPHON

58       This  page  is  part of release 3.25 of the Linux man-pages project.  A
59       description of the project, and information about reporting  bugs,  can
60       be found at http://www.kernel.org/doc/man-pages/.
61
62
63
64                                  2000-10-30                            LDD(1)
Impressum