1 .\" This is a ja translation of man page in ld.so-1.9.9 archive
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
7 .TH ld.so 8 "14 March 1998"
9 .\"O ld.so/ld-linux.so \- dynamic linker/loader
11 ld.so/ld\-linux.so \- ưŪ¤Ê¥ê¥ó¥«¡¦¥í¡¼¥À
15 .\"O loads the shared libraries needed by a program, prepares the program
16 .\"O to run, and then runs it.
18 ¤Ï¥×¥í¥°¥é¥à¤ËɬÍפʶ¦Í¥é¥¤¥Ö¥é¥ê¤ò¥í¡¼¥É¤·¡¢
19 ¥×¥í¥°¥é¥à¤Î¼Â¹Ô¤ò½àÈ÷¤·¤Æ¤«¤éµ¯Æ°¤µ¤»¤ë¡£
20 .\"O Unless explicitly specified via the
24 .\"O during compilation, all Linux programs are incomplete and require
25 .\"O further linking at run time.
30 ¤Ë¤è¤Ã¤ÆÌÀ¼¨¤·¤Ê¤¤¸Â¤ê¡¢ Linux ¥Ð¥¤¥Ê¥ê¤Ï¤¹¤Ù¤ÆÉÔ´°Á´¤Ç¡¢
31 ¼Â¹Ô»þ¤Ë¤â¤¦°ìÃʳ¬¤Î¥ê¥ó¥¯¤¬É¬ÍפȤʤ롣
33 .\"O The necessary shared libraries needed by the program are searched for
34 .\"O in the following order
35 ¥×¥í¥°¥é¥à¤ÇɬÍפȤµ¤ì¤ë¶¦Í¥é¥¤¥Ö¥é¥ê¤Ï°Ê²¼¤Î½ç½ø¤Ç¸¡º÷¤µ¤ì¤ë¡£
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
46 .BR LD_AOUT_LIBRARY_PATH )
47 ¤òÍѤ¤¤ë¡£¤¿¤À¤·¼Â¹Ô¥Õ¥¡¥¤¥ë¤¬ setuid/setgid ¥Ð¥¤¥Ê¥ê¤Î¾ì¹ç¤Ï¡¢¤³¤ì¤Ï
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.
56 ¤òõ¤¹¡£¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢
57 (ld.so.conf ¤ÇÄɲûØÄꤵ¤ì¤¿¤â¤Î¤â´Þ¤á¤¿) ¥é¥¤¥Ö¥é¥ê¸¡º÷¥Ñ¥¹¤«¤é
58 ¸«¤Ä¤«¤Ã¤¿¥é¥¤¥Ö¥é¥ê¥Õ¥¡¥¤¥ë¤Î¾ðÊó¤ò½¸¤á¤¿¤â¤Î¤Ç¤¢¤ë¡£
60 .\"O In the default path
72 .\"O A colon-separated list of directories in which to search for
73 .\"O ELF libraries at execution-time.
76 .\"O environment variable.
77 ¥³¥í¥ó¶èÀÚ¤ê¤Î¥Ç¥£¥ì¥¯¥È¥ê¥ê¥¹¥È¡£¼Â¹Ô»þ¤Ë ELF ¥é¥¤¥Ö¥é¥ê¤ò
78 ¸¡º÷¤¹¤ë¥Ç¥£¥ì¥¯¥È¥ê¤ò»ØÄꤹ¤ë¡£
80 ´Ä¶ÊÑ¿ô¤ÈƱ¤¸¤è¤¦¤Ë»ØÄꤹ¤ë¡£
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 ¾¤Î¶¦Í¥é¥¤¥Ö¥é¥ê¤Ë¤¢¤ë´Ø¿ô¤òÁªÂòŪ¤ËÃÖ¤´¹¤¨¤ë¤¿¤á¤Ë
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.
96 .\"O environment variable.
97 ¥³¥í¥ó¤Ç¶èÀÚ¤é¤ì¤¿¥Ç¥£¥ì¥¯¥È¥ê¤Î¥ê¥¹¥È¡£¼Â¹Ô»þ¤Ë a.out ¤Î¥é¥¤¥Ö¥é¥ê¤ò
98 ¸¡º÷¤¹¤ë¥Ç¥£¥ì¥¯¥È¥ê¤ò»ØÄꤹ¤ë¡£
100 ´Ä¶ÊÑ¿ô¤ÈƱ¤¸¤è¤¦¤Ë»ØÄꤹ¤ë¡£
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 ¾¤Î¶¦Í¥é¥¤¥Ö¥é¥ê¤Ë¤¢¤ë´Ø¿ô¤òÁªÂòŪ¤ËÃÖ¤´¹¤¨¤ë¤¿¤á¤Ë
112 .\"O Suppress warnings about a.out libraries with incompatible minor
113 .\"O version numbers.
114 a.out ¥é¥¤¥Ö¥é¥ê¤Ë¤ª¤±¤ë¥Þ¥¤¥Ê¡¼¥Ð¡¼¥¸¥ç¥óÈÖ¹æ¤ÎÈó¸ß´¹¤Ë
115 ÂФ¹¤ë·Ù¹ð¥á¥Ã¥»¡¼¥¸¤òÍÞÀ©¤¹¤ë¡£
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 ¤³¤Î¥ª¥×¥·¥ç¥ó¤ÏÍѤ¤¤ë¤Ù¤¤Ç¤Ï¤Ê¤¤¡£
128 .\"O a.out dynamic linker/loader
129 a.out ¤ÎưŪ¥ê¥ó¥«/¥í¡¼¥À
131 .B /lib/ld-linux.so.*
132 ELF dynamic linker/loader
133 ELF ¤ÎưŪ¥ê¥ó¥«/¥í¡¼¥À
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 ¶¦Í¥é¥¤¥Ö¥é¥ê¤Î¸õÊä¤ÎÀ°Îó¥ê¥¹¥È¤ò´Þ¤à¥Õ¥¡¥¤¥ë¡£
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 ¥¹¥Ú¡¼¥¹¤Ç¶èÀڤ俥ꥹ¥È¤¬½ñ¤«¤ì¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¡£
148 .\"O shared libraries
160 .\"O has no means of unloading and searching for compatible or newer version of
164 ¤Ë¤Ï¡¢¤¢¤ë¥é¥¤¥Ö¥é¥ê¤ò¥¢¥ó¥í¡¼¥É¤·¤Æ¡¢
165 ¸ß´¹À¤Î¤¢¤ë¥é¥¤¥Ö¥é¥ê¤ä¤è¤ê¿·¤·¤¤¥é¥¤¥Ö¥é¥ê¤òºÆ¸¡º÷¤¹¤ëµ¡Ç½¤¬¤Ê¤¤¡£
168 .\"O functionality is only available for executables compiled using libc version
169 .\"O 4.4.3 or greater.
171 ¤Îµ¡Ç½¤Ï libc ¤Î¥Ð¡¼¥¸¥ç¥ó 4.4.3 °Ê¾å¤òÍѤ¤¤Æ¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤¿
172 ¼Â¹Ô¥Õ¥¡¥¤¥ë¤Ë¤·¤«ÍѤ¤¤ë¤³¤È¤¬¤Ç¤¤Ê¤¤¡£
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 (½çÉÔƱ)