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)
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
11 .\" Japanese Version Copyright (c) 1998 NAKANO Takeo all rights reserved.
12 .\" Translated Sat May 23 1998 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
13 .\" Updated & Modified Wed Jan 6 1999 by NAKANO Takeo
14 .\" Updated & Modified Wed Jan 16 21:05:41 JST 2002
15 .\" by Yuichi SATO <ysato@h4.dion.ne.jp>
17 .TH LDD 1 2000-10-30 "" "Linux Programmer's Manual"
19 .\"O ldd \- print shared library dependencies
21 ldd \- ¶¦Í¥é¥¤¥Ö¥é¥ê¤Ø¤Î°Í¸´Ø·¸¤òɽ¼¨¤¹¤ë
24 .BR ldd " [OPTION]... FILE..."
28 .\"O prints the shared libraries required by each program or shared library
29 .\"O specified on the command line.
31 ¤Ï¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤷ¤¿¥×¥í¥°¥é¥à¤ä¶¦Í¥é¥¤¥Ö¥é¥ê¤Ë¤Ä¤¤¤Æ¡¢
32 ¤½¤ì¤¾¤ì¤ÇɬÍפȤµ¤ì¤ë¶¦Í¥é¥¤¥Ö¥é¥ê¤òɽ¼¨¤¹¤ë¡£
37 .\"O Print the version number of
40 ¤Î¥Ð¡¼¥¸¥ç¥óÈÖ¹æ¤òɽ¼¨¤¹¤ë¡£
43 .\"O Print all information, including, for example,
44 .\"O symbol versioning information.
45 ¥·¥ó¥Ü¥ë¤Î¥Ð¡¼¥¸¥ç¥ó¾ðÊó¤Ê¤É¤ò´Þ¤á¤¿Á´¤Æ¤Î¾ðÊó¤òɽ¼¨¤¹¤ë¡£
48 .\"O Print unused direct dependencies.
49 .\"O (Since glibc 2.3.4.)
50 »ÈÍѤµ¤ì¤Æ¤¤¤Ê¤¤Ä¾Àܤΰ͸´Ø·¸¤òɽ¼¨¤¹¤ë
53 .B \-d\ \-\-data\-relocs
54 .\"O Perform relocations and report any missing objects (ELF only).
55 ¥ê¥í¥±¡¼¥·¥ç¥ó¤ò¼Â¹Ô¤·¡¢Â¤ê¤Ê¤¤¥ª¥Ö¥¸¥§¥¯¥È¤Ë¤Ä¤¤¤Æ¥ì¥Ý¡¼¥È¤¹¤ë (ELF ¤Î¤ß)¡£
57 .B \-r\ \-\-function\-relocs
58 .\"O report any missing objects or functions (ELF only).
59 ¤ê¤Ê¤¤¥ª¥Ö¥¸¥§¥¯¥È¤ä´Ø¿ô¤Ë¤Ä¤¤¤Æ¥ì¥Ý¡¼¥È¤¹¤ë (ELF ¤Î¤ß)¡£
62 .\"O Usage information.
66 .\"O The standard version of
68 .\"O comes with glibc2.
69 .\"O Libc5 came with an older version, still present
71 .\"O The long options are not supported by the libc5 version.
74 ¤Ï glibc2 ¤ËÉÕ°¤·¤Æ¤¤¤ë¡£
75 libc5 ¤Ë¤Ï¸Å¤¤¥Ð¡¼¥¸¥ç¥ó¤Î¤â¤Î¤¬ÉÕ°¤·¤Æ¤ª¤ê¡¢
76 ¤³¤ì¤¬Æþ¤Ã¤Æ¤¤¤ë¥·¥¹¥Æ¥à¤â¤Þ¤À¸ºß¤¹¤ë¡£
77 libc5 ¥Ð¡¼¥¸¥ç¥ó¤Ç¤Ï¥í¥ó¥°¥ª¥×¥·¥ç¥ó¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Ê¤¤¡£
78 .\"O On the other hand, the glibc2 version does not support
80 .\"O and only has the equivalent
81 .\"O .BR \-\-version .
82 °ìÊý¡¢glibc2 ¥Ð¡¼¥¸¥ç¥ó¤Ç¤Ï
84 ¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤ª¤é¤º¡¢¤³¤ì¤ÈƱ¤¸°ÕÌ£¤Î
86 ¤·¤«¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Ê¤¤¡£
88 .\"O The libc5 version of this program will use the name of a library given
89 .\"O on the command line as-is when it contains a \(aq/\(aq; otherwise it
90 .\"O searches for the library in the standard locations.
92 .\"O on a shared library in the current directory, prefix the name with "./".
93 libc5 ¥Ð¡¼¥¸¥ç¥ó¤Î¥×¥í¥°¥é¥à¤Ç¤Ï¡¢
94 ¥³¥Þ¥ó¥É¥é¥¤¥ó¤ÇÍ¿¤¨¤é¤ì¤¿¥é¥¤¥Ö¥é¥ê̾¤Ë
95 \(aq/\(aq ¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢¥é¥¤¥Ö¥é¥ê̾¤ò¤½¤Î¤Þ¤ÞÍѤ¤¤ë¡£
96 \(aq/\(aq ¤¬´Þ¤Þ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ï¡¢É¸½àŪ¤Ê¥Ñ¥¹¤«¤é¥é¥¤¥Ö¥é¥ê¤ò¸¡º÷¤¹¤ë¡£
97 ¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ë¶¦Í¥é¥¤¥Ö¥é¥ê¤ËÂФ·¤Æ¼Â¹Ô¤¹¤ë¤Ë¤Ï¡¢
98 ̾Á°¤Ë¥×¥ì¥Õ¥£¥Ã¥¯¥¹ "./" ¤òÉÕ¤±¤ë¤³¤È¡£
102 .\"O does not work on a.out shared libraries.
104 ¤Ï a.out ¶¦Í¥é¥¤¥Ö¥é¥ê¤Ç¤ÏÆ°ºî¤·¤Ê¤¤¡£
107 .\"O does not work with some extremely old a.out programs which were
110 .\"O support was added to the compiler releases.
112 ¤ÏÈó¾ï¤Ë¸Å¤¤ a.out ¥×¥í¥°¥é¥à
114 ¤Î¥µ¥Ý¡¼¥È¤¬¥³¥ó¥Ñ¥¤¥é¤ËÄɲ䵤ì¤ë°ÊÁ°¤Ë¥Ó¥ë¥É¤µ¤ì¤¿¤è¤¦¤Ê¥×¥í¥°¥é¥à)
118 .\"O on one of these programs, the program will attempt to run with
119 .\"O \fIargc\fP = 0 and the results will be unpredictable.
120 ¤³¤Î¤è¤¦¤Ê¥×¥í¥°¥é¥à¤ËÂФ·¤Æ
122 ¤òÍѤ¤¤ë¤È¡¢¥×¥í¥°¥é¥à¤Ï \fIargc\fP = 0 ¤Ç¼Â¹Ô¤µ¤ì¤ë¡£·ë²Ì¤ÏͽÁÛÉÔ²Äǽ¤Ç¤¢¤ë¡£
126 .\" Roland McGrath and Ulrich Drepper.