OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / ld.so / draft / man8 / ld.so.8
1 .\" This is a ja translation of man page in ld.so-1.9.9 archive
2 .\"
3 .\" Japanese Version Copyright (c) 1998 NAKANO Takeo all rights reserved.
4 .\" Translated Sat May 23 1998 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
5 .\" Updated & Modified Tue Sep 14 1999 by NAKANO Takeo 
6 .\"
7 .TH ld.so 8 "14 March 1998"
8 .\"O .SH NAME
9 .\"O ld.so/ld-linux.so \- dynamic linker/loader
10 .SH Ì¾Á°
11 ld.so/ld\-linux.so \- Æ°Åª¤Ê¥ê¥ó¥«¡¦¥í¡¼¥À
12 .\"O .SH DESCRIPTION
13 .SH ÀâÌÀ
14 .\"O .B ld.so
15 .\"O loads the shared libraries needed by a program, prepares the program
16 .\"O to run, and then runs it.
17 .B ld.so
18 ¤Ï¥×¥í¥°¥é¥à¤ËɬÍפʶ¦Í­¥é¥¤¥Ö¥é¥ê¤ò¥í¡¼¥É¤·¡¢
19 ¥×¥í¥°¥é¥à¤Î¼Â¹Ô¤ò½àÈ÷¤·¤Æ¤«¤éµ¯Æ°¤µ¤»¤ë¡£
20 .\"O Unless explicitly specified via the
21 .\"O .B \-static
22 .\"O option to
23 .\"O .B ld
24 .\"O during compilation, all Linux programs are incomplete and require 
25 .\"O further linking at run time.
26 ¥³¥ó¥Ñ¥¤¥ë¤Î»þ¤Ë
27 .B ld
28 ¤ËÂФ·¤Æ
29 .B \-static
30 ¤Ë¤è¤Ã¤ÆÌÀ¼¨¤·¤Ê¤¤¸Â¤ê¡¢ Linux ¥Ð¥¤¥Ê¥ê¤Ï¤¹¤Ù¤ÆÉÔ´°Á´¤Ç¡¢
31 ¼Â¹Ô»þ¤Ë¤â¤¦°ìÃʳ¬¤Î¥ê¥ó¥¯¤¬É¬ÍפȤʤ롣
32 .PP
33 .\"O The necessary shared libraries needed by the program are searched for 
34 .\"O in the following order
35 ¥×¥í¥°¥é¥à¤ÇɬÍפȤµ¤ì¤ë¶¦Í­¥é¥¤¥Ö¥é¥ê¤Ï°Ê²¼¤Î½ç½ø¤Ç¸¡º÷¤µ¤ì¤ë¡£
36 .IP o
37 .\"O Using the environment variable
38 .\"O .B LD_LIBRARY_PATH
39 .\"O .RB ( LD_AOUT_LIBRARY_PATH
40 .\"O for a.out programs).
41 .\"O Except if the executable is a setuid/setgid binary, in which case it
42 .\"O is ignored.
43 ´Ä¶­ÊÑ¿ô
44 .B LD_LIBRARY_PATH
45 (a.out ¥×¥í¥°¥é¥à¤Ç¤Ï
46 .BR LD_AOUT_LIBRARY_PATH )
47 ¤òÍѤ¤¤ë¡£¤¿¤À¤·¼Â¹Ô¥Õ¥¡¥¤¥ë¤¬ setuid/setgid ¥Ð¥¤¥Ê¥ê¤Î¾ì¹ç¤Ï¡¢¤³¤ì¤Ï
48 ̵»ë¤µ¤ì¤ë¡£
49 .IP o
50 .\"O From the cache file
51 .\"O .BR /etc/ld.so.cache
52 .\"O which contains a compiled list of candidate libraries previously found
53 .\"O in the augmented library path.
54 ¥­¥ã¥Ã¥·¥å¥Õ¥¡¥¤¥ë
55 .B /etc/ld.so.cache
56 ¤òõ¤¹¡£¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢
57 (ld.so.conf ¤ÇÄɲûØÄꤵ¤ì¤¿¤â¤Î¤â´Þ¤á¤¿) ¥é¥¤¥Ö¥é¥ê¸¡º÷¥Ñ¥¹¤«¤é
58 ¸«¤Ä¤«¤Ã¤¿¥é¥¤¥Ö¥é¥ê¥Õ¥¡¥¤¥ë¤Î¾ðÊó¤ò½¸¤á¤¿¤â¤Î¤Ç¤¢¤ë¡£
59 .IP o
60 .\"O In the default path
61 .\"O .BR /usr/lib ,
62 .\"O and then
63 .\"O .BR /lib .
64 ¥Ç¥Õ¥©¥ë¥È¥Ñ¥¹¤Ç¤¢¤ë
65 .BR /usr/lib ¡¢
66 ¼¡¤¤¤Ç
67 .BR /lib ¡£
68 .\"O .SH ENVIRONMENT
69 .SH ´Ä¶­ÊÑ¿ô
70 .TP
71 .B LD_LIBRARY_PATH
72 .\"O A colon-separated list of directories in which to search for
73 .\"O ELF libraries at execution-time.
74 .\"O Similar to the 
75 .\"O .B PATH
76 .\"O environment variable.
77 ¥³¥í¥ó¶èÀÚ¤ê¤Î¥Ç¥£¥ì¥¯¥È¥ê¥ê¥¹¥È¡£¼Â¹Ô»þ¤Ë ELF ¥é¥¤¥Ö¥é¥ê¤ò
78 ¸¡º÷¤¹¤ë¥Ç¥£¥ì¥¯¥È¥ê¤ò»ØÄꤹ¤ë¡£
79 .B PATH
80 ´Ä¶­ÊÑ¿ô¤ÈƱ¤¸¤è¤¦¤Ë»ØÄꤹ¤ë¡£
81 .TP
82 .B LD_PRELOAD
83 .\"O A whitespace-separated list of additional, user-specified, ELF shared 
84 .\"O libraries to be loaded before all others.
85 .\"O This can be used to selectively override functions in other shared libraries.
86 ¥¹¥Ú¡¼¥¹¶èÀÚ¤ê¤Ç ELF ¶¦Í­¥é¥¤¥Ö¥é¥ê¤ò»ØÄꤹ¤ë¡£
87 ¤³¤ì¤Ï¥æ¡¼¥¶¡¼¤¬»ØÄê¤Ç¤­¡¢¤¹¤Ù¤Æ¤Î¥é¥¤¥Ö¥é¥ê¤ËÀèΩ¤Ã¤Æ¥í¡¼¥É¤µ¤ì¤ë¡£
88 ¾¤Î¶¦Í­¥é¥¤¥Ö¥é¥ê¤Ë¤¢¤ë´Ø¿ô¤òÁªÂòŪ¤ËÃÖ¤­´¹¤¨¤ë¤¿¤á¤Ë
89 ÍѤ¤¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
90 .TP
91 .B LD_AOUT_LIBRARY_PATH
92 .\"O A colon-separated list of directories in which to search for
93 .\"O a.out libraries at execution-time.
94 .\"O Similar to the 
95 .\"O .B PATH
96 .\"O environment variable.
97 ¥³¥í¥ó¤Ç¶èÀÚ¤é¤ì¤¿¥Ç¥£¥ì¥¯¥È¥ê¤Î¥ê¥¹¥È¡£¼Â¹Ô»þ¤Ë a.out ¤Î¥é¥¤¥Ö¥é¥ê¤ò
98 ¸¡º÷¤¹¤ë¥Ç¥£¥ì¥¯¥È¥ê¤ò»ØÄꤹ¤ë¡£
99 .B PATH
100 ´Ä¶­ÊÑ¿ô¤ÈƱ¤¸¤è¤¦¤Ë»ØÄꤹ¤ë¡£
101 .TP
102 .B LD_AOUT_PRELOAD
103 .\"O The name of an additional, user-specified, a.out shared library to be loaded 
104 .\"O after all others.
105 .\"O This can be used to selectively override functions in other shared libraries.
106 ¥æ¡¼¥¶¡¼¤¬»ØÄꤹ¤ëÉÕ²ÃŪ¤Ê a.out ¶¦Í­¥é¥¤¥Ö¥é¥ê¤Î̾Á°¡£
107 ¾¤Î¥é¥¤¥Ö¥é¥ê¤¬¤¹¤Ù¤Æ¥í¡¼¥É¤µ¤ì¤¿¤¢¤È¤Ë¥í¡¼¥É¤µ¤ì¤ë¡£
108 ¾¤Î¶¦Í­¥é¥¤¥Ö¥é¥ê¤Ë¤¢¤ë´Ø¿ô¤òÁªÂòŪ¤ËÃÖ¤­´¹¤¨¤ë¤¿¤á¤Ë
109 ÍѤ¤¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
110 .TP
111 .B LD_NOWARN
112 .\"O Suppress warnings about a.out libraries with incompatible minor 
113 .\"O version numbers.
114 a.out ¥é¥¤¥Ö¥é¥ê¤Ë¤ª¤±¤ë¥Þ¥¤¥Ê¡¼¥Ð¡¼¥¸¥ç¥óÈÖ¹æ¤ÎÈó¸ß´¹¤Ë
115 ÂФ¹¤ë·Ù¹ð¥á¥Ã¥»¡¼¥¸¤òÍÞÀ©¤¹¤ë¡£
116 .TP
117 .B LD_KEEPDIR
118 .\"O Don't ignore the directory in the names of a.out libraries to be loaded.
119 .\"O Use of this option is strongly discouraged.
120 ¥í¡¼¥É¤¹¤ë a.out ¥é¥¤¥Ö¥é¥ê¤Î̾Á°¤Ë¤ª¤¤¤Æ¡¢¥Ç¥£¥ì¥¯¥È¥ê¤ò̵»ë¤·¤Ê¤¤¡£
121 ¤³¤Î¥ª¥×¥·¥ç¥ó¤ÏÍѤ¤¤ë¤Ù¤­¤Ç¤Ï¤Ê¤¤¡£
122 .TP
123 .\"O .SH FILES
124 .SH ¥Õ¥¡¥¤¥ë
125 .PD 0
126 .TP 20
127 .B /lib/ld.so
128 .\"O a.out dynamic linker/loader
129 a.out ¤ÎưŪ¥ê¥ó¥«/¥í¡¼¥À
130 .TP 20
131 .B /lib/ld-linux.so.*
132 ELF dynamic linker/loader
133 ELF ¤ÎưŪ¥ê¥ó¥«/¥í¡¼¥À
134 .TP
135 .B /etc/ld.so.cache
136 .\"O File containing a compiled list of directories in which to search for
137 .\"O libraries and an ordered list of candidate libraries.
138 ¥é¥¤¥Ö¥é¥ê¤ò¥µ¡¼¥Á¤¹¤ë¥Ç¥£¥ì¥¯¥È¥ê¤ò½¸¤á¤¿¥ê¥¹¥È¤È¡¢
139 ¶¦Í­¥é¥¤¥Ö¥é¥ê¤Î¸õÊä¤ÎÀ°Îó¥ê¥¹¥È¤ò´Þ¤à¥Õ¥¡¥¤¥ë¡£
140 .TP
141 .B /etc/ld.so.preload
142 .\"O File containing a whitespace separated list of ELF shared libraries to
143 .\"O be loaded before the program.
144 ¥×¥í¥°¥é¥à¤ÎÁ°¤Ë¥í¡¼¥É¤¹¤Ù¤­ ELF ¶¦Í­¥é¥¤¥Ö¥é¥ê¤ò
145 ¥¹¥Ú¡¼¥¹¤Ç¶èÀڤ俥ꥹ¥È¤¬½ñ¤«¤ì¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¡£
146 .TP
147 .B lib*.so*
148 .\"O shared libraries
149 ¶¦Í­¥é¥¤¥Ö¥é¥ê
150 .PD
151 .\"O .SH SEE ALSO
152 .SH ´ØÏ¢¹àÌÜ
153 .BR ldd (1),
154 .BR ldconfig (8)
155 .\"O .SH BUGS
156 .SH ¥Ð¥°
157 .LP
158 .\"O Currently
159 .\"O .B ld.so
160 .\"O has no means of unloading and searching for compatible or newer version of
161 .\"O libraries.
162 ¸½ºß¤Î¤È¤³¤í
163 .B ld.so
164 ¤Ë¤Ï¡¢¤¢¤ë¥é¥¤¥Ö¥é¥ê¤ò¥¢¥ó¥í¡¼¥É¤·¤Æ¡¢
165 ¸ß´¹À­¤Î¤¢¤ë¥é¥¤¥Ö¥é¥ê¤ä¤è¤ê¿·¤·¤¤¥é¥¤¥Ö¥é¥ê¤òºÆ¸¡º÷¤¹¤ëµ¡Ç½¤¬¤Ê¤¤¡£
166 .PP
167 .\"O .B ld.so
168 .\"O functionality is only available for executables compiled using libc version
169 .\"O 4.4.3 or greater.
170 .B ld.so
171 ¤Îµ¡Ç½¤Ï libc ¤Î¥Ð¡¼¥¸¥ç¥ó 4.4.3 °Ê¾å¤òÍѤ¤¤Æ¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤¿
172 ¼Â¹Ô¥Õ¥¡¥¤¥ë¤Ë¤·¤«ÍѤ¤¤ë¤³¤È¤¬¤Ç¤­¤Ê¤¤¡£
173 .\"O .SH AUTHORS
174 .SH Ãø¼Ô
175 .\"O David Engel, Eric Youngdale, Peter MacDonald, Hongjiu Lu, Linus
176 .\"O Torvalds, Lars Wirzenius and Mitch D'Souza (not necessarily in that order).
177 David Engel, Eric Youngdale, Peter MacDonald, Hongjiu Lu, Linus
178 Torvalds, Lars Wirzenius and Mitch D'Souza (½çÉÔƱ)