2 .\" This is a ja translation of man page in ld.so-1.9.9 archive
4 .\" Japanese Version Copyright (c) 1998 NAKANO Takeo all rights reserved.
5 .\" Translated Sat May 23 1998 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
6 .\" Updated & Modified Tue Sep 14 1999 by NAKANO Takeo
8 .\"WORD: verbose mode ñÁÀå¥â¡¼¥É
9 .\"WORD: quiet mode ¥á¥Ã¥»¡¼¥¸ÍÞÀ©¥â¡¼¥É
11 .TH ldconfig 8 "14 March 1998"
13 .\"O ldconfig \- determine run-time link bindings
15 ldconfig \- ¼Â¹Ô»þ¥ê¥ó¥¯¤Î·ë¹ç´Ø·¸¤ò·èÄꤹ¤ë
39 .\"O creates the necessary links and cache (for use by the run-time linker,
41 .\"O to the most recent shared libraries found in the directories specified
42 .\"O on the command line, in the file
43 .\"O .IR /etc/ld.so.conf ,
44 .\"O and in the trusted directories
49 ¤ÏºÇ¿·¤Î¶¦Í¥é¥¤¥Ö¥é¥ê¤ËÂФ·¤ÆɬÍפʥê¥ó¥¯¤òºîÀ®¤·¤¿¤ê¡¢
50 ¥é¥¤¥Ö¥é¥ê¤ò¥¥ã¥Ã¥·¥å¤·¤¿¤ê¤¹¤ë
51 (¥¥ã¥Ã¥·¥å¤Ï¼Â¹Ô»þ¥ê¥ó¥«
54 ¥é¥¤¥Ö¥é¥ê¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤ä
56 ¥Õ¥¡¥¤¥ë¤Ç»ØÄꤵ¤ì¤¿¥Ç¥£¥ì¥¯¥È¥ê¤ä¡¢¶¦Í¥é¥¤¥Ö¥é¥ê¤¬
57 Ä̾ïÃÖ¤«¤ì¤ë¥Ç¥£¥ì¥¯¥È¥ê
58 .RI ( /usr/lib " ¤È " /lib )
61 .\"O checks the header and file names of the libraries it encounters when
62 .\"O determining which versions should have their links updated.
64 .\"O ignores symbolic links when scanning for libraries.
66 ¤Ï½èÍý¤¹¤ë¥é¥¤¥Ö¥é¥ê¤Î¥Ø¥Ã¥ÀÉôʬ¤È¥Õ¥¡¥¤¥ë̾¤ò¥Á¥§¥Ã¥¯¤·¡¢
67 ¤É¤Î¥Ð¡¼¥¸¥ç¥ó¤ËÂФ·¤Æ¥ê¥ó¥¯¤ò¹¹¿·¤¹¤Ù¤¤«¤òȽÃǤ¹¤ë¡£
69 ¤Ï¥é¥¤¥Ö¥é¥ê¤ò¸¡º÷¤¹¤ë¤È¤¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤ò̵»ë¤¹¤ë¡£
72 .\"O will attempt to deduce the type of ELF libs (ie. libc5 or libc6/glibc)
73 .\"O based on what C libs if any the library was linked against, therefore when
74 .\"O making dynamic libraries, it is wise to explicitly link against libc (use -lc).
76 ¤Ï ELF ¥é¥¤¥Ö¥é¥ê¤Î¼ïÎà (libc5 ¤« libc6/glibc ¤«) ¤òȽÃǤ¹¤ë¤È¤¡¢
77 ¤½¤Î¥é¥¤¥Ö¥é¥ê¤¬¥ê¥ó¥¯¤·¤Æ¤¤¤ë C ¥é¥¤¥Ö¥é¥ê¤ò»²¹Í¤Ë¤¹¤ë¡£
78 ¤·¤¿¤¬¤Ã¤Æ¥À¥¤¥Ê¥ß¥Ã¥¯¥é¥¤¥Ö¥é¥ê¤òºîÀ®¤¹¤ë¤È¤¤Ë¤Ï¡¢
79 libc ¤ËÂФ¹¤ë¥ê¥ó¥¯¤ò (\-lc ¤ò¤Ä¤«¤Ã¤Æ) ÌÀ¼¨¤·¤Æ¤ª¤¯¤ÈÎɤ¤¡£
81 .\"O Some existing libs do not contain enough information to allow the deduction of
82 .\"O their type, therefore the
83 .\"O .IR /etc/ld.so.conf
84 .\"O file format allows the specification of an expected type. This is
86 .\"O used for those ELF libs which we can not work out. The format
87 .\"O is like this "dirname=TYPE", where type can be libc4, libc5 or libc6.
88 .\"O (This syntax also works on the command line). Spaces are
90 .\"O allowed. Also see the
93 ¤¹¤Ç¤Ë¸ºß¤·¤Æ¤¤¤ë¥é¥¤¥Ö¥é¥ê¤ÎÃæ¤Ë¤Ï¡¢¼ïÎà¤ò¶èÊ̤¹¤ë¤¿¤á¤Ë½¼Ê¬¤Ê
94 ¾ðÊ󤬴ޤޤì¤Æ¤¤¤Ê¤¤¤â¤Î¤â¤¢¤ë¡£¤³¤Î¤¿¤á
96 ¥Õ¥¡¥¤¥ë¤Ç¥é¥¤¥Ö¥é¥ê¤Î·Á¼°¤ò»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤ë¡£
97 ¤³¤ì¤Ï¶èÊÌÉÔǽ¤Ê ELF ¥é¥¤¥Ö¥é¥ê\fB¤À¤±\fP¤ËÍѤ¤¤ë¤â¤Î¤Ç¤¢¤ë¡£
98 ¥Õ¥©¡¼¥Þ¥Ã¥È¤Ï "dirname=TYPE" ¤Î¤è¤¦¤Ë¤¹¤ë¡£¤³¤³¤Ç TYPE ¤Ï
99 libc4, libc5, libc6 ¤Î¤¤¤º¤ì¤«¤Ç¤¢¤ë
100 (¤³¤Î½ñ¼°¤Ï¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¤â»È¤¨¤ë)¡£\fB¥¹¥Ú¡¼¥¹¤òÆþ¤ì¤Æ¤Ï¤Ê¤é¤Ê¤¤\fP¡£
102 ¥ª¥×¥·¥ç¥ó¤â¸«¤Æ¤ª¤¯¤³¤È¡£
104 .\"O Directory names containing an
105 .\"O .B = are no longer legal
106 .\"O unless they also have an expected type specifier.
109 ¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¥Ç¥£¥ì¥¯¥È¥ê¤Ï¡¢·Á¼°»ØÄê¤ò¤·¤Ê¤¤¸Â¤ê
110 ÍѤ¤¤ë¤³¤È¤¬¤Ç¤¤Ê¤¯¤Ê¤Ã¤¿¡£
113 .\"O should normally be run by the super-user as it may require write
114 .\"O permission on some root owned directories and files.
115 .\"O It is normally run automatically at bootup, from /etc/rc, or manually
116 .\"O whenever new DLL's are installed.
118 ¤ÏÄ̾凉¡¼¥Ñ¡¼¥æ¡¼¥¶¡¼¸¢¸Â¤Ç¼Â¹Ô¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
119 root ¤¬½êͤ·¤Æ¤¤¤ë¥Ç¥£¥ì¥¯¥È¥ê¤ä¥Õ¥¡¥¤¥ë¤Ø¤Î½ñ¤¹þ¤ß¸¢¸Â¤¬
120 ɬÍפˤʤ뤫¤é¤Ç¤¢¤ë¡£
122 ¤ÏÄ̾µ¯Æ°»þ¤Ë /etc/rc ¥¹¥¯¥ê¥×¥È¤«¤é¼«Æ°Åª¤Ë¼Â¹Ô¤µ¤ì¤ë¡£¤¿¤À¤·¿·¤·
123 ¤¤ DLL ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¤È¤¤Ë¤Ïɬ¤º¼êÆ°¤Ç¼Â¹Ô¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
137 ¤¬°ÅÌۤΤ¦¤Á¤Ë»ØÄꤵ¤ì¤ë¡£
141 .\"O Print current version number, the name of each directory as it
142 .\"O is scanned and any links that are created.
143 .\"O Overrides quiet mode.
144 ñÁÀå¥â¡¼¥É¡£¸½ºß¤Î¥Ð¡¼¥¸¥ç¥óÈÖ¹æ¤òɽ¼¨¤¹¤ë¡£¤Þ¤¿¤½¤ì¤¾¤ì¤Î¥Ç¥£¥ì¥¯¥È
145 ¥ê¤ò¥¹¥¥ã¥ó¤·¡¢¿·¤·¤¤¥ê¥ó¥¯¤òÀ¸À®¤¹¤ë¤¿¤Ó¤Ë¡¢¤½¤ÎÆâÍƤòɽ¼¨¤¹¤ë¡£
146 ¥á¥Ã¥»¡¼¥¸ÍÞÀ©¥â¡¼¥É¤ò¾å½ñ¤¤¹¤ë¡£
150 .\"O Don't print warnings.
151 ¥á¥Ã¥»¡¼¥¸ÍÞÀ©¥â¡¼¥É¡£
155 .\"O Only process directories specified on the command line.
156 .\"O Don't process the trusted directories
160 .\"O nor those specified in
161 .\"O .IR /etc/ld.so.conf .
164 ¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤵ¤ì¤¿¥Ç¥£¥ì¥¯¥È¥ê¤Î¤ß¤ò½èÍý¤¹¤ë¡£Ä̾ﶦͥ饤¥Ö¥é¥ê¤¬
166 .RI ( /usr/lib " ¤È " /lib )
169 ¤Ç»ØÄꤵ¤ì¤¿¥Ç¥£¥ì¥¯¥È¥ê¤Ï½èÍý¤·¤Ê¤¤¡£°ÅÌۤΤ¦¤Á¤Ë
174 .\"O Don't rebuild the cache.
177 .\"O is also specified, links are still updated.
178 ¥¥ã¥Ã¥·¥å¤òºÆ¹½À®¤·¤Ê¤¤¡£Æ±»þ¤Ë
180 ¤¬Æ±»þ¤Ë»ØÄꤵ¤ì¤Ê¤±¤ì¤Ð¡¢¥ê¥ó¥¯¤Î¤Û¤¦¤Ï¹¹¿·¤µ¤ì¤ë¡£
183 .\"O Don't update links.
186 .\"O is also specified, the cache is still rebuilt.
189 ¤¬Æ±»þ¤Ë»ØÄꤵ¤ì¤Ê¤±¤ì¤Ð¡¢¥¥ã¥Ã¥·¥å¤Î¤Û¤¦¤ÏºÆ¹½À®¤µ¤ì¤ë¡£
195 .\"O .IR /etc/ld.so.conf .
205 .\"O .IR /etc/ld.so.cache .
212 .\"O Change to and use
214 .\"O as the root directory.
216 ¤Ë¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤òÊѹ¹¤·¡¢¤³¤³¤ò¥ë¡¼¥È¥Ç¥£¥ì¥¯¥È¥ê¤È¤·¤ÆÍѤ¤¤ë¡£
220 .\"O Manually link individual libraries.
221 .\"O Intended for use by experts only.
222 ¥é¥¤¥Ö¥é¥ê¥â¡¼¥É¡£¤½¤ì¤¾¤ì¤Î¥é¥¤¥Ö¥é¥ê¤ò¼êÆ°¤Ç¥ê¥ó¥¯¤¹¤ë¡£
223 ½ÏÎý¼Ô¤Î¤ß¤¬ÍѤ¤¤ë¤Ù¤¤Ç¤¢¤ë¡£
226 .\"O Print the lists of directories and candidate libraries stored in
227 .\"O the current cache.
228 ¸½ºß¤Î¥¥ã¥Ã¥·¥å¤ËÊݸ¤µ¤ì¤Æ¤¤¤ë¥Ç¥£¥ì¥¯¥È¥ê¤Î¥ê¥¹¥È¤È¡¢
229 ¥é¥¤¥Ö¥é¥ê¤Î¸õÊä¤òɽ¼¨¤¹¤ë¡£
232 .\"O In the bootup file
243 .\"O will set up the correct links for the shared binaries and rebuild
245 ¤¬¤¢¤ë¤È¡¢¶¦Í¥Ð¥¤¥Ê¥ê¤Ø¤ÎÀµ¤·¤¤¥ê¥ó¥¯¤¬À¸À®¤µ¤ì¡¢¥¥ã¥Ã¥·¥å¤¬ºÆ¹½À®¤µ
248 .\"O On the command line
252 # /sbin/ldconfig -n /lib
255 .\"O as root after the installation of a new DLL, will properly update the
256 .\"O shared library symbolic links in /lib.
257 ¤ò root ¸¢¸Â¤Ç¼Â¹Ô¤¹¤ë¤È¡¢ /lib ¤Ë¿·¤·¤¯¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤¿ DLL ¤ËÂФ·
258 ¤Æ¡¢Àµ¤·¤¤¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤òÀ¸À®¤¹¤ë¡£
265 .\"O execution time linker/loader
266 ¼Â¹Ô»þ¥ê¥ó¥«/¥í¡¼¥À¡¼¡£
269 .\"O File containing a list of colon, space, tab, newline, or comma spearated
270 .\"O directories in which to search for libraries.
271 ¥³¥í¥ó¡¦¥¹¥Ú¡¼¥¹¡¦¥¿¥Ö¡¦²þ¹Ô¡¦¥³¥ó¥Þ¤Ç¶èÀÚ¤é¤ì¤¿¥Ç¥£¥ì¥¯¥È¥ê¤Î¥ê¥¹¥È¡£
272 ¤½¤ì¤¾¤ì¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ç¥é¥¤¥Ö¥é¥ê¤¬¸¡º÷¤µ¤ì¤ë¡£
275 .\"O File containing an ordered list of libraries found in the directories
277 .\"O .BR /etc/ld.so.conf .
279 ¤Ç»ØÄꤵ¤ì¤¿¥Ç¥£¥ì¥¯¥È¥ê¤Ç¸«¤Ä¤«¤Ã¤¿¥é¥¤¥Ö¥é¥ê¤Î½ç½øÉÕ¤¥ê¥¹¥È¡£
282 .\"O shared libraries
294 .\"O functionality, in conjunction with
296 .\"O is only available for executables compiled using libc version 4.4.3 or greater.
300 ¤Ë´ØÏ¢¤·¤¿µ¡Ç½¤Ï¡¢ libc ¥Ð¡¼¥¸¥ç¥ó 4.4.3 °Ê¾å¤Ç¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤¿¼Â¹Ô¥Õ¥¡
301 ¥¤¥ë¤Ç¤·¤«ÍøÍѤǤ¤Ê¤¤¡£
304 .\"O being a user process, must be run manually and has no means of dynamically
305 .\"O determining and relinking shared libraries for use by
307 .\"O when a new DLL is installed.
309 ¤Ï¥æ¡¼¥¶¡¼¥×¥í¥»¥¹¤Ê¤Î¤Ç¡¢¼êÆ°¤Ç¼Â¹Ô¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£¤Þ¤¿¿·¤¿¤Ê DLL
310 ¤¬¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤¿¤È¤¤Ë¤Ï¡¢¤½¤Î¥é¥¤¥Ö¥é¥ê¤ò
312 ¤¬ÍøÍѤǤ¤ë¤è¤¦¤Ë¶¦Í¥é¥¤¥Ö¥é¥ê¤ÎºÆÄ´À°¤ä¥ê¥ó¥¯¤Î
313 Ä¥¤ê¤«¤¨¤ò¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¤¬¡¢¤³¤ì¤òưŪ¤Ë¹Ô¤¦¼êÃʤϸºß¤·¤Ê¤¤¡£
315 .\"O David Engel and Mitch D'Souza.
317 David Engel ¤È Mitch D'Souza¡£