]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man1/ldd.1
syscalls.2: Move discussion of set_zone_reclaim(2) out of main table
[thirdparty/man-pages.git] / man1 / ldd.1
CommitLineData
fea681da
MK
1.\" Copyright 1995-2000 David Engel (david@ods.com)
2.\" Copyright 1995 Rickard E. Faith (faith@cs.unc.edu)
3.\" Copyright 2000 Ben Collins (bcollins@debian.org)
4.\" Redone for GLibc 2.2
5.\" Copyright 2000 Jakub Jelinek (jakub@redhat.com)
6.\" Corrected.
7.\" Most of this was copied from the README file.
8.\" Do not restrict distribution.
9.\" May be distributed under the GNU General Public License
05eabe65 10.TH LDD 1 2000-10-30 "" "Linux Programmer's Manual"
fea681da
MK
11.SH NAME
12ldd \- print shared library dependencies
13.SH SYNOPSIS
d6d1a7c0 14.BR ldd " [OPTION]... FILE..."
fea681da
MK
15.SH DESCRIPTION
16.B ldd
17prints the shared libraries required by each program or shared library
18specified on the command line.
19.SH OPTIONS
20.TP
9de38bff 21.B \-\-version
fea681da
MK
22Print the version number of
23.BR ldd .
24.TP
25.B \-v\ \-\-verbose
75b94dc3
MK
26Print all information, including, for example,
27symbol versioning information.
fea681da 28.TP
46672d0d
MK
29.B \-u\ \-\-unused
30Print unused direct dependencies.
cd38a583 31(Since glibc 2.3.4.)
46672d0d 32.TP
fea681da
MK
33.B \-d\ \-\-data\-relocs
34Perform relocations and report any missing objects (ELF only).
35.TP
36.B \-r\ \-\-function\-relocs
37Perform relocations for both data objects and functions, and
38report any missing objects or functions (ELF only).
39.TP
40.B \-\-help
41Usage information.
42.SH NOTES
43The standard version of
44.B ldd
677f4766
MK
45comes with glibc2.
46Libc5 came with an older version, still present
ca7b3c18
MK
47on some systems.
48The long options are not supported by the libc5 version.
fea681da
MK
49On the other hand, the glibc2 version does not support
50.B \-V
51and only has the equivalent
52.BR \-\-version .
53.LP
54The libc5 version of this program will use the name of a library given
f81fb444 55on the command line as-is when it contains a \(aq/\(aq; otherwise it
ca7b3c18
MK
56searches for the library in the standard locations.
57To run it
fea681da
MK
58on a shared library in the current directory, prefix the name with "./".
59.SH BUGS
60.B ldd
61does not work on a.out shared libraries.
62.PP
63.B ldd
64does not work with some extremely old a.out programs which were
65built before
66.B ldd
67support was added to the compiler releases.
68If you use
69.B ldd
70on one of these programs, the program will attempt to run with
71\fIargc\fP = 0 and the results will be unpredictable.
72.\" .SH AUTHOR
73.\" David Engel.
74.\" Roland McGrath and Ulrich Drepper.
75.SH SEE ALSO
76.BR ld.so (8),
77.BR ldconfig (8)