source: chapter06/glibc.xml@ 9218b05

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 7.10 7.10-rc1 7.9 7.9-rc2 8.0 8.0-rc1 8.1 8.1-rc1 8.1-rc2 8.2 8.2-rc1 8.3 8.3-rc1 8.3-rc2 8.4 8.4-rc1 9.0 9.0-rc1 9.1 9.1-rc1 BOOK.old cross-chap5 ml-11.0 multilib nosym old-trunk trunk xry111/git-transition xry111/glibc-2.34 xry111/tester-nohack xry111/usr-move
Last change on this file since 9218b05 was 9218b05, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

LFS-7.9-rc2 released.
Update to glibc-2.23.
Update to linux-4.4.2.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11019 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 34.8 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-glibc" role="wrap">
9 <?dbhtml filename="glibc.html"?>
10
11 <sect1info condition="script">
12 <productname>glibc</productname>
13 <productnumber>&glibc-version;</productnumber>
14 <address>&glibc-url;</address>
15 </sect1info>
16
17 <title>Glibc-&glibc-version;</title>
18
19 <indexterm zone="ch-system-glibc">
20 <primary sortas="a-Glibc">Glibc</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
26 <para>The Glibc package contains the main C library. This library provides
27 the basic routines for allocating memory, searching directories, opening and
28 closing files, reading and writing files, string handling, pattern matching,
29 arithmetic, and so on.</para>
30
31 <segmentedlist>
32 <segtitle>&buildtime;</segtitle>
33 <segtitle>&diskspace;</segtitle>
34
35 <seglistitem>
36 <seg>&glibc-ch6-sbu;</seg>
37 <seg>&glibc-ch6-du;</seg>
38 </seglistitem>
39 </segmentedlist>
40
41 </sect2>
42
43 <sect2 role="installation">
44 <title>Installation of Glibc</title>
45
46 <note>
47 <para>Some packages outside of LFS suggest installing GNU libiconv in
48 order to translate data from one encoding to another. The project's
49 home page (<ulink url="http://www.gnu.org/software/libiconv/"/>) says
50 <quote>This library provides an <function>iconv()</function>
51 implementation, for use on systems which don't have one, or whose
52 implementation cannot convert from/to Unicode.</quote> Glibc provides
53 an <function>iconv()</function> implementation and can convert from/to
54 Unicode, therefore libiconv is not required on an LFS system.</para>
55 </note>
56
57 <para>Some of the Glibc programs use non-FHS compilant
58 <filename class="directory">/var/db</filename> directory to store
59 their runtime data. Apply the following patch to make such programs
60 store their runtime data in the FHS-compliant locations:</para>
61
62<screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen>
63
64 <para>The Glibc build system is self-contained and will install
65 perfectly, even though the compiler specs file and linker are still
66 pointing at <filename class="directory">/tools</filename>. The specs
67 and linker cannot be adjusted before the Glibc install because the
68 Glibc autoconf tests would give false results and defeat the goal
69 of achieving a clean build.</para>
70<!--
71 <para>Now fix a build problem that affects i386 systems:</para>
72
73<screen><userinput remap="pre">patch -Np1 -i ../&glibc-upstream-patch;</userinput></screen>
74
75 <para>The most recent stable version of Glibc does not handle large files
76 correctly. Fix the problem with this patch:</para>
77
78<screen><userinput remap="pre">patch -Np1 -i ../&glibc-largefile-patch;</userinput></screen>
79
80 <para>Finally, update some recent changes from the upstream repository:</para>
81
82<screen><userinput remap="pre">patch -Np1 -i ../&glibc-upstream-patch2;</userinput></screen>
83-->
84 <para>The Glibc documentation recommends building Glibc
85 in a dedicated build directory:</para>
86
87<screen><userinput remap="pre">mkdir -v build
88cd build</userinput></screen>
89
90 <para>Prepare Glibc for compilation:</para>
91
92<screen><userinput remap="configure">../configure --prefix=/usr \
93 --disable-profile \
94 --enable-kernel=&min-kernel; \
95 --enable-obsolete-rpc</userinput></screen>
96
97 <para>Compile the package:</para>
98
99<screen><userinput remap="make">make</userinput></screen>
100
101 <important>
102 <para>In this section, the test suite for Glibc is considered critical.
103 Do not skip it under any circumstance.</para>
104 </important>
105
106 <para>Generally a few tests do not pass, but you can generally ignore
107 any of the test failures listed below. Now test the build results:</para>
108
109<screen><userinput remap="test">make check</userinput></screen>
110
111 <para>You will probably see some test failures. The Glibc test suite is
112 somewhat dependent on the host system. This is a list of the most common
113 issues seen for this version of LFS:</para>
114
115 <itemizedlist>
116
117 <listitem>
118 <para><emphasis>posix/tst-getaddrinfo4</emphasis> and
119 <emphasis>posix/tst-getaddrinfo5</emphasis> will always fail due
120 to not having the necessary networking applications when the tests are
121 run.</para>
122 </listitem>
123
124 <listitem>
125 <para>The <emphasis>rt/tst-cputimer1</emphasis> and
126 <emphasis>rt/tst-cpuclock2</emphasis> tests have been known to
127 fail. The reason is not completely understood, but indications are
128 that minor timing issues can trigger these failures.</para>
129 </listitem>
130
131 <listitem>
132 <para>The math tests sometimes fail when running on
133 systems where the CPU is not a relatively new Intel or
134 AMD processor.</para>
135 </listitem>
136<!--
137 <listitem>
138 <para>The <emphasis>elf/tst-protected1a</emphasis> and
139 <emphasis>elf/tst-protected1b</emphasis> tests are known to
140 fail with the current stable version of binutils.</para>
141 </listitem>
142
143 <listitem>
144 <para>When running on older and slower hardware or on systems under
145 load, some tests can fail because of test timeouts being exceeded.
146 Modifying the make check command to set a TIMEOUTFACTOR is reported to
147 help eliminate these errors (e.g. <command>TIMEOUTFACTOR=16
148 make -k check</command>).</para>
149 </listitem>
150-->
151<!--
152 <listitem>
153 <para>libio/tst-ftell-partial-wide.out fails because it needs a locale
154 that has not yet been generated.</para>
155 </listitem>
156-->
157 <listitem>
158 <para>Other tests known to fail on some architectures are
159 malloc/tst-malloc-usable and nptl/tst-cleanupx4. </para>
160 </listitem>
161
162 </itemizedlist>
163
164 <para>Though it is a harmless message, the install stage of Glibc will
165 complain about the absence of <filename>/etc/ld.so.conf</filename>.
166 Prevent this warning with:</para>
167
168<screen><userinput remap="install">touch /etc/ld.so.conf</userinput></screen>
169
170 <para>Install the package:</para>
171
172<screen><userinput remap="install">make install</userinput></screen>
173
174 <para>Install the configuration file and runtime directory for
175 <command>nscd</command>:</para>
176
177<screen><userinput remap="install">cp -v ../nscd/nscd.conf /etc/nscd.conf
178mkdir -pv /var/cache/nscd</userinput></screen>
179
180 <para>The locales that can make the system respond in a different language
181 were not installed by the above command. None of the locales are required,
182 but if some of them are missing, test suites of the future packages would
183 skip important testcases.</para>
184
185 <para>Individual locales can be installed using the
186 <command>localedef</command> program. E.g., the first
187 <command>localedef</command> command below combines the
188 <filename>/usr/share/i18n/locales/cs_CZ</filename>
189 charset-independent locale definition with the
190 <filename>/usr/share/i18n/charmaps/UTF-8.gz</filename>
191 charmap definition and appends the result to the
192 <filename>/usr/lib/locale/locale-archive</filename> file.
193 The following instructions will install the minimum set of
194 locales necessary for the optimal coverage of tests:</para>
195
196<screen role="nodump"><userinput remap="locale-test">mkdir -pv /usr/lib/locale
197localedef -i cs_CZ -f UTF-8 cs_CZ.UTF-8
198localedef -i de_DE -f ISO-8859-1 de_DE
199localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro
200localedef -i de_DE -f UTF-8 de_DE.UTF-8
201localedef -i en_GB -f UTF-8 en_GB.UTF-8
202localedef -i en_HK -f ISO-8859-1 en_HK
203localedef -i en_PH -f ISO-8859-1 en_PH
204localedef -i en_US -f ISO-8859-1 en_US
205localedef -i en_US -f UTF-8 en_US.UTF-8
206localedef -i es_MX -f ISO-8859-1 es_MX
207localedef -i fa_IR -f UTF-8 fa_IR
208localedef -i fr_FR -f ISO-8859-1 fr_FR
209localedef -i fr_FR@euro -f ISO-8859-15 fr_FR@euro
210localedef -i fr_FR -f UTF-8 fr_FR.UTF-8
211localedef -i it_IT -f ISO-8859-1 it_IT
212localedef -i it_IT -f UTF-8 it_IT.UTF-8
213localedef -i ja_JP -f EUC-JP ja_JP
214localedef -i ru_RU -f KOI8-R ru_RU.KOI8-R
215localedef -i ru_RU -f UTF-8 ru_RU.UTF-8
216localedef -i tr_TR -f UTF-8 tr_TR.UTF-8
217localedef -i zh_CN -f GB18030 zh_CN.GB18030</userinput></screen>
218
219 <para>In addition, install the locale for your own country, language and
220 character set.</para>
221
222 <para>Alternatively, install all locales listed in the
223 <filename>glibc-&glibc-version;/localedata/SUPPORTED</filename> file
224 (it includes every locale listed above and many more) at once with the
225 following time-consuming command:</para>
226
227<screen><userinput remap="locale-full">make localedata/install-locales</userinput></screen>
228
229 <para>Then use the <command>localedef</command> command to create and
230 install locales not listed in the
231 <filename>glibc-&glibc-version;/localedata/SUPPORTED</filename> file
232 in the unlikely case you need them.</para>
233
234 </sect2>
235
236 <sect2 id="conf-glibc" role="configuration">
237 <title>Configuring Glibc</title>
238
239 <indexterm zone="conf-glibc">
240 <primary sortas="e-/etc/nsswitch.conf">/etc/nsswitch.conf</primary>
241 </indexterm>
242
243 <indexterm zone="conf-glibc">
244 <primary sortas="e-/etc/localtime">/etc/localtime</primary>
245 </indexterm>
246
247 <sect3>
248 <title>Adding nsswitch.conf</title>
249
250 <para>The <filename>/etc/nsswitch.conf</filename> file needs to be created
251 because the Glibc defaults do not work well in a networked environment.
252 </para>
253
254 <para>Create a new file <filename>/etc/nsswitch.conf</filename> by running the
255 following:</para>
256
257<screen><userinput>cat &gt; /etc/nsswitch.conf &lt;&lt; "EOF"
258<literal># Begin /etc/nsswitch.conf
259
260passwd: files
261group: files
262shadow: files
263
264hosts: files dns
265networks: files
266
267protocols: files
268services: files
269ethers: files
270rpc: files
271
272# End /etc/nsswitch.conf</literal>
273EOF</userinput></screen>
274
275 </sect3>
276
277 <sect3>
278 <title>Adding time zone data</title>
279
280 <para>Install and set up the time zone data with the following:</para>
281<screen><userinput>tar -xf ../../tzdata&tzdata-version;.tar.gz
282
283ZONEINFO=/usr/share/zoneinfo
284mkdir -pv $ZONEINFO/{posix,right}
285
286for tz in etcetera southamerica northamerica europe africa antarctica \
287 asia australasia backward pacificnew systemv; do
288 zic -L /dev/null -d $ZONEINFO -y "sh yearistype.sh" ${tz}
289 zic -L /dev/null -d $ZONEINFO/posix -y "sh yearistype.sh" ${tz}
290 zic -L leapseconds -d $ZONEINFO/right -y "sh yearistype.sh" ${tz}
291done
292
293cp -v zone.tab zone1970.tab iso3166.tab $ZONEINFO
294zic -d $ZONEINFO -p America/New_York
295unset ZONEINFO</userinput></screen>
296
297 <variablelist>
298 <title>The meaning of the zic commands:</title>
299
300 <varlistentry>
301 <term><parameter>zic -L /dev/null ...</parameter></term>
302 <listitem>
303 <para>This creates posix time zones, without any leap seconds. It is
304 conventional to put these in both
305 <filename class="directory">zoneinfo</filename> and
306 <filename class="directory">zoneinfo/posix</filename>. It is
307 necessary to put the POSIX time zones in
308 <filename class="directory">zoneinfo</filename>, otherwise various
309 test-suites will report errors. On an embedded system, where space is
310 tight and you do not intend to ever update the time zones, you could save
311 1.9MB by not using the <filename class="directory">posix</filename>
312 directory, but some applications or test-suites might produce some
313 failures.</para>
314 </listitem>
315 </varlistentry>
316 <varlistentry>
317 <term><parameter>zic -L leapseconds ...</parameter></term>
318 <listitem>
319 <para>This creates right time zones, including leap seconds. On an
320 embedded system, where space is tight and you do not intend to
321 ever update the time zones, or care about the correct time, you could
322 save 1.9MB by omitting the <filename class="directory">right</filename>
323 directory.</para>
324 </listitem>
325 </varlistentry>
326 <varlistentry>
327 <term><parameter>zic ... -p ...</parameter></term>
328 <listitem>
329 <para>This creates the <filename>posixrules</filename> file. We use
330 New York because POSIX requires the daylight savings time rules
331 to be in accordance with US rules.</para>
332 </listitem>
333 </varlistentry>
334 </variablelist>
335
336
337 <para>One way to determine the local time zone is to run the following
338 script:</para>
339
340<screen role="nodump"><userinput>tzselect</userinput></screen>
341
342 <para>After answering a few questions about the location, the script will
343 output the name of the time zone (e.g.,
344 <emphasis>America/Edmonton</emphasis>). There are also some other possible
345 time zones listed in <filename
346 class='directory'>/usr/share/zoneinfo</filename> such as
347 <emphasis>Canada/Eastern</emphasis> or <emphasis>EST5EDT</emphasis> that
348 are not identified by the script but can be used.</para>
349
350 <para>Then create the <filename>/etc/localtime</filename> file by
351 running:</para>
352
353<screen><userinput>cp -v /usr/share/zoneinfo/<replaceable>&lt;xxx&gt;</replaceable> /etc/localtime</userinput></screen>
354
355 <para>Replace <replaceable>&lt;xxx&gt;</replaceable> with the name of the
356 time zone selected (e.g., Canada/Eastern).</para>
357
358 </sect3>
359
360 <sect3 id="conf-ld" role="configuration">
361 <title>Configuring the Dynamic Loader</title>
362
363 <indexterm zone="conf-ld">
364 <primary sortas="e-/etc/ld.so.conf">/etc/ld.so.conf</primary>
365 </indexterm>
366
367 <para>By default, the dynamic loader (<filename
368 class="libraryfile">/lib/ld-linux.so.2</filename>) searches through
369 <filename class="directory">/lib</filename> and <filename
370 class="directory">/usr/lib</filename> for dynamic libraries that are
371 needed by programs as they are run. However, if there are libraries in
372 directories other than <filename class="directory">/lib</filename> and
373 <filename class="directory">/usr/lib</filename>, these need to be added
374 to the <filename>/etc/ld.so.conf</filename> file in order for the
375 dynamic loader to find them. Two directories that are commonly known
376 to contain additional libraries are <filename
377 class="directory">/usr/local/lib</filename> and <filename
378 class="directory">/opt/lib</filename>, so add those directories to the
379 dynamic loader's search path.</para>
380
381 <para>Create a new file <filename>/etc/ld.so.conf</filename> by running the
382 following:</para>
383
384<screen><userinput>cat &gt; /etc/ld.so.conf &lt;&lt; "EOF"
385<literal># Begin /etc/ld.so.conf
386/usr/local/lib
387/opt/lib
388</literal>
389EOF</userinput></screen>
390
391 <para>If desired, the dynamic loader can also search a directory and
392 include the contents of files found there. Generally the files in
393 this include directory are one line specifying the desired library path.
394 To add this capability run the following commands:</para>
395
396<screen role="nodump"><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; "EOF"
397<literal># Add an include directory
398include /etc/ld.so.conf.d/*.conf
399</literal>
400EOF
401mkdir -pv /etc/ld.so.conf.d</userinput></screen>
402
403 </sect3>
404 </sect2>
405
406 <sect2 id="contents-glibc" role="content">
407 <title>Contents of Glibc</title>
408
409 <segmentedlist>
410 <segtitle>Installed programs</segtitle>
411 <segtitle>Installed libraries</segtitle>
412 <segtitle>Installed directories</segtitle>
413
414 <seglistitem>
415 <seg>catchsegv, gencat, getconf, getent, iconv, iconvconfig, ldconfig,
416 ldd, lddlibc4, locale, localedef, makedb, mtrace, nscd, pcprofiledump,
417 pldd, rpcgen, sln, sotruss, sprof, tzselect, xtrace,
418 zdump, and zic</seg>
419 <seg>ld-&glibc-version;.so, libBrokenLocale.{a,so}, libSegFault.so, libanl.{a,so},
420 libc.{a,so}, libc_nonshared.a, libcidn.so,
421 libcrypt.{a,so}, libdl.{a,so}, libg.a, libieee.a, libm.{a,so},
422 libmcheck.a, libmemusage.so, libnsl.{a,so}, libnss_compat.so,
423 libnss_dns.so, libnss_files.so, libnss_hesiod.so, libnss_nis.so,
424 libnss_nisplus.so, libpcprofile.so, libpthread.{a,so},
425 libpthread_nonshared.a, libresolv.{a,so}, librpcsvc.a, librt.{a,so},
426 libthread_db.so, and libutil.{a,so}</seg>
427 <seg>/usr/include/arpa, /usr/include/bits, /usr/include/gnu,
428 /usr/include/net, /usr/include/netash, /usr/include/netatalk,
429 /usr/include/netax25, /usr/include/neteconet, /usr/include/netinet,
430 /usr/include/netipx, /usr/include/netiucv, /usr/include/netpacket,
431 /usr/include/netrom, /usr/include/netrose, /usr/include/nfs,
432 /usr/include/protocols, /usr/include/rpc, /usr/include/rpcsvc,
433 /usr/include/sys, /usr/lib/audit, /usr/lib/gconv, /usr/lib/locale,
434 /usr/libexec/getconf, /usr/share/i18n, /usr/share/zoneinfo,
435 /var/cache/nscd, and /var/lib/nss_db</seg>
436 </seglistitem>
437 </segmentedlist>
438
439 <variablelist>
440 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
441 <?dbfo list-presentation="list"?>
442 <?dbhtml list-presentation="table"?>
443
444 <varlistentry id="catchsegv">
445 <term><command>catchsegv</command></term>
446 <listitem>
447 <para>Can be used to create a stack trace when a program
448 terminates with a segmentation fault</para>
449 <indexterm zone="ch-system-glibc catchsegv">
450 <primary sortas="b-catchsegv">catchsegv</primary>
451 </indexterm>
452 </listitem>
453 </varlistentry>
454
455 <varlistentry id="gencat">
456 <term><command>gencat</command></term>
457 <listitem>
458 <para>Generates message catalogues</para>
459 <indexterm zone="ch-system-glibc gencat">
460 <primary sortas="b-gencat">gencat</primary>
461 </indexterm>
462 </listitem>
463 </varlistentry>
464
465 <varlistentry id="getconf">
466 <term><command>getconf</command></term>
467 <listitem>
468 <para>Displays the system configuration values for file system
469 specific variables</para>
470 <indexterm zone="ch-system-glibc getconf">
471 <primary sortas="b-getconf">getconf</primary>
472 </indexterm>
473 </listitem>
474 </varlistentry>
475
476 <varlistentry id="getent">
477 <term><command>getent</command></term>
478 <listitem>
479 <para>Gets entries from an administrative database</para>
480 <indexterm zone="ch-system-glibc getent">
481 <primary sortas="b-getent">getent</primary>
482 </indexterm>
483 </listitem>
484 </varlistentry>
485
486 <varlistentry id="iconv">
487 <term><command>iconv</command></term>
488 <listitem>
489 <para>Performs character set conversion</para>
490 <indexterm zone="ch-system-glibc iconv">
491 <primary sortas="b-iconv">iconv</primary>
492 </indexterm>
493 </listitem>
494 </varlistentry>
495
496 <varlistentry id="iconvconfig">
497 <term><command>iconvconfig</command></term>
498 <listitem>
499 <para>Creates fastloading <command>iconv</command> module configuration
500 files</para>
501 <indexterm zone="ch-system-glibc iconvconfig">
502 <primary sortas="b-iconvconfig">iconvconfig</primary>
503 </indexterm>
504 </listitem>
505 </varlistentry>
506
507 <varlistentry id="ldconfig">
508 <term><command>ldconfig</command></term>
509 <listitem>
510 <para>Configures the dynamic linker runtime bindings</para>
511 <indexterm zone="ch-system-glibc ldconfig">
512 <primary sortas="b-ldconfig">ldconfig</primary>
513 </indexterm>
514 </listitem>
515 </varlistentry>
516
517 <varlistentry id="ldd">
518 <term><command>ldd</command></term>
519 <listitem>
520 <para>Reports which shared libraries are required
521 by each given program or shared library</para>
522 <indexterm zone="ch-system-glibc ldd">
523 <primary sortas="b-ldd">ldd</primary>
524 </indexterm>
525 </listitem>
526 </varlistentry>
527
528 <varlistentry id="lddlibc4">
529 <term><command>lddlibc4</command></term>
530 <listitem>
531 <para>Assists <command>ldd</command> with object files</para>
532 <indexterm zone="ch-system-glibc lddlibc4">
533 <primary sortas="b-lddlibc4">lddlibc4</primary>
534 </indexterm>
535 </listitem>
536 </varlistentry>
537
538 <varlistentry id="locale">
539 <term><command>locale</command></term>
540 <listitem>
541 <para>Prints various information about the current locale</para>
542 <indexterm zone="ch-system-glibc locale">
543 <primary sortas="b-locale">locale</primary>
544 </indexterm>
545 </listitem>
546 </varlistentry>
547
548 <varlistentry id="localedef">
549 <term><command>localedef</command></term>
550 <listitem>
551 <para>Compiles locale specifications</para>
552 <indexterm zone="ch-system-glibc localedef">
553 <primary sortas="b-localedef">localedef</primary>
554 </indexterm>
555 </listitem>
556 </varlistentry>
557
558 <varlistentry id="makedb">
559 <term><command>makedb</command></term>
560 <listitem>
561 <para>Creates a simple database from textual input</para>
562 <indexterm zone="ch-system-glibc makedb">
563 <primary sortas="b-makedb">makedb</primary>
564 </indexterm>
565 </listitem>
566 </varlistentry>
567
568 <varlistentry id="mtrace">
569 <term><command>mtrace</command></term>
570 <listitem>
571 <para>Reads and interprets a memory trace file and displays a summary
572 in human-readable format</para>
573 <indexterm zone="ch-system-glibc mtrace">
574 <primary sortas="b-mtrace">mtrace</primary>
575 </indexterm>
576 </listitem>
577 </varlistentry>
578
579 <varlistentry id="nscd">
580 <term><command>nscd</command></term>
581 <listitem>
582 <para>A daemon that provides a cache for the most common name
583 service requests</para>
584 <indexterm zone="ch-system-glibc nscd">
585 <primary sortas="b-nscd">nscd</primary>
586 </indexterm>
587 </listitem>
588 </varlistentry>
589
590 <varlistentry id="pcprofiledump">
591 <term><command>pcprofiledump</command></term>
592 <listitem>
593 <para>Dumps information generated by PC profiling</para>
594 <indexterm zone="ch-system-glibc pcprofiledump">
595 <primary sortas="b-pcprofiledump">pcprofiledump</primary>
596 </indexterm>
597 </listitem>
598 </varlistentry>
599
600 <varlistentry id="pldd">
601 <term><command>pldd</command></term>
602 <listitem>
603 <para>Lists dynamic shared objects used by running processes</para>
604 <indexterm zone="ch-system-glibc pldd">
605 <primary sortas="b-pldd">pldd</primary>
606 </indexterm>
607 </listitem>
608 </varlistentry>
609<!--
610 <varlistentry id="pt_chown">
611 <term><command>pt_chown</command></term>
612 <listitem>
613 <para>A helper program for <command>grantpt</command> to set the owner,
614 group and access permissions of a slave pseudo terminal</para>
615 <indexterm zone="ch-system-glibc pt_chown">
616 <primary sortas="b-pt_chown">pt_chown</primary>
617 </indexterm>
618 </listitem>
619 </varlistentry>
620-->
621 <varlistentry id="rpcgen">
622 <term><command>rpcgen</command></term>
623 <listitem>
624 <para>Generates C code to implement the Remote Procedure Call (RPC)
625 protocol</para>
626 <indexterm zone="ch-system-glibc rpcgen">
627 <primary sortas="b-rpcgen">rpcgen</primary>
628 </indexterm>
629 </listitem>
630 </varlistentry>
631
632 <varlistentry id="sln">
633 <term><command>sln</command></term>
634 <listitem>
635 <para>A statically linked <command>ln</command> program</para>
636 <indexterm zone="ch-system-glibc sln">
637 <primary sortas="b-sln">sln</primary>
638 </indexterm>
639 </listitem>
640 </varlistentry>
641
642 <varlistentry id="sotruss">
643 <term><command>sotruss</command></term>
644 <listitem>
645 <para>Traces shared library procedure calls of a specified command</para>
646 <indexterm zone="ch-system-glibc sotruss">
647 <primary sortas="b-sotruss">sotruss</primary>
648 </indexterm>
649 </listitem>
650 </varlistentry>
651
652 <varlistentry id="sprof">
653 <term><command>sprof</command></term>
654 <listitem>
655 <para>Reads and displays shared object profiling data</para>
656 <indexterm zone="ch-system-glibc sprof">
657 <primary sortas="b-sprof">sprof</primary>
658 </indexterm>
659 </listitem>
660 </varlistentry>
661
662 <varlistentry id="tzselect">
663 <term><command>tzselect</command></term>
664 <listitem>
665 <para>Asks the user about the location of the system and reports
666 the corresponding time zone description</para>
667 <indexterm zone="ch-system-glibc tzselect">
668 <primary sortas="b-tzselect">tzselect</primary>
669 </indexterm>
670 </listitem>
671 </varlistentry>
672
673 <varlistentry id="xtrace">
674 <term><command>xtrace</command></term>
675 <listitem>
676 <para>Traces the execution of a program by printing the currently
677 executed function</para>
678 <indexterm zone="ch-system-glibc xtrace">
679 <primary sortas="b-xtrace">xtrace</primary>
680 </indexterm>
681 </listitem>
682 </varlistentry>
683
684 <varlistentry id="zdump">
685 <term><command>zdump</command></term>
686 <listitem>
687 <para>The time zone dumper</para>
688 <indexterm zone="ch-system-glibc zdump">
689 <primary sortas="b-zdump">zdump</primary>
690 </indexterm>
691 </listitem>
692 </varlistentry>
693
694 <varlistentry id="zic">
695 <term><command>zic</command></term>
696 <listitem>
697 <para>The time zone compiler</para>
698 <indexterm zone="ch-system-glibc zic">
699 <primary sortas="b-zic">zic</primary>
700 </indexterm>
701 </listitem>
702 </varlistentry>
703
704 <varlistentry id="ld.so">
705 <term><filename class="libraryfile">ld-&glibc-version;.so</filename></term>
706 <listitem>
707 <para>The helper program for shared library executables</para>
708 <indexterm zone="ch-system-glibc ld.so">
709 <primary sortas="c-ld.so">ld-&glibc-version;.so</primary>
710 </indexterm>
711 </listitem>
712 </varlistentry>
713
714 <varlistentry id="libBrokenLocale">
715 <term><filename class="libraryfile">libBrokenLocale</filename></term>
716 <listitem>
717 <para>Used internally by Glibc as a gross hack to get broken programs
718 (e.g., some Motif applications) running. See comments in
719 <filename>glibc-&glibc-version;/locale/broken_cur_max.c</filename>
720 for more information</para>
721 <indexterm zone="ch-system-glibc libBrokenLocale">
722 <primary sortas="c-libBrokenLocale">libBrokenLocale</primary>
723 </indexterm>
724 </listitem>
725 </varlistentry>
726
727 <varlistentry id="libSegFault">
728 <term><filename class="libraryfile">libSegFault</filename></term>
729 <listitem>
730 <para>The segmentation fault signal handler, used by
731 <command>catchsegv</command></para>
732 <indexterm zone="ch-system-glibc libSegFault">
733 <primary sortas="c-libSegFault">libSegFault</primary>
734 </indexterm>
735 </listitem>
736 </varlistentry>
737
738 <varlistentry id="libanl">
739 <term><filename class="libraryfile">libanl</filename></term>
740 <listitem>
741 <para>An asynchronous name lookup library</para>
742 <indexterm zone="ch-system-glibc libanl">
743 <primary sortas="c-libanl">libanl</primary>
744 </indexterm>
745 </listitem>
746 </varlistentry>
747
748 <varlistentry id="libc">
749 <term><filename class="libraryfile">libc</filename></term>
750 <listitem>
751 <para>The main C library</para>
752 <indexterm zone="ch-system-glibc libc">
753 <primary sortas="c-libc">libc</primary>
754 </indexterm>
755 </listitem>
756 </varlistentry>
757
758 <varlistentry id="libcidn">
759 <term><filename class="libraryfile">libcidn</filename></term>
760 <listitem>
761 <para>Used internally by Glibc for handling internationalized domain
762 names in the <function>getaddrinfo()</function> function</para>
763 <indexterm zone="ch-system-glibc libcidn">
764 <primary sortas="c-libcidn">libcidn</primary>
765 </indexterm>
766 </listitem>
767 </varlistentry>
768
769 <varlistentry id="libcrypt">
770 <term><filename class="libraryfile">libcrypt</filename></term>
771 <listitem>
772 <para>The cryptography library</para>
773 <indexterm zone="ch-system-glibc libcrypt">
774 <primary sortas="c-libcrypt">libcrypt</primary>
775 </indexterm>
776 </listitem>
777 </varlistentry>
778
779 <varlistentry id="libdl">
780 <term><filename class="libraryfile">libdl</filename></term>
781 <listitem>
782 <para>The dynamic linking interface library</para>
783 <indexterm zone="ch-system-glibc libdl">
784 <primary sortas="c-libdl">libdl</primary>
785 </indexterm>
786 </listitem>
787 </varlistentry>
788
789 <varlistentry id="libg">
790 <term><filename class="libraryfile">libg</filename></term>
791 <listitem>
792 <para>Dummy library containing no functions. Previously was a runtime
793 library for <command>g++</command></para>
794 <indexterm zone="ch-system-glibc libg">
795 <primary sortas="c-libg">libg</primary>
796 </indexterm>
797 </listitem>
798 </varlistentry>
799
800 <varlistentry id="libieee">
801 <term><filename class="libraryfile">libieee</filename></term>
802 <listitem>
803 <para>Linking in this module forces error handling rules for math
804 functions as defined by the Institute of Electrical and Electronic
805 Engineers (IEEE). The default is POSIX.1 error handling</para>
806 <indexterm zone="ch-system-glibc libieee">
807 <primary sortas="c-libieee">libieee</primary>
808 </indexterm>
809 </listitem>
810 </varlistentry>
811
812 <varlistentry id="libm">
813 <term><filename class="libraryfile">libm</filename></term>
814 <listitem>
815 <para>The mathematical library</para>
816 <indexterm zone="ch-system-glibc libm">
817 <primary sortas="c-libm">libm</primary>
818 </indexterm>
819 </listitem>
820 </varlistentry>
821
822 <varlistentry id="libmcheck">
823 <term><filename class="libraryfile">libmcheck</filename></term>
824 <listitem>
825 <para>Turns on memory allocation checking when linked to</para>
826 <indexterm zone="ch-system-glibc libmcheck">
827 <primary sortas="c-libmcheck">libmcheck</primary>
828 </indexterm>
829 </listitem>
830 </varlistentry>
831
832 <varlistentry id="libmemusage">
833 <term><filename class="libraryfile">libmemusage</filename></term>
834 <listitem>
835 <para>Used by <command>memusage</command> to help collect
836 information about the memory usage of a program</para>
837 <indexterm zone="ch-system-glibc libmemusage">
838 <primary sortas="c-libmemusage">libmemusage</primary>
839 </indexterm>
840 </listitem>
841 </varlistentry>
842
843 <varlistentry id="libnsl">
844 <term><filename class="libraryfile">libnsl</filename></term>
845 <listitem>
846 <para>The network services library</para>
847 <indexterm zone="ch-system-glibc libnsl">
848 <primary sortas="c-libnsl">libnsl</primary>
849 </indexterm>
850 </listitem>
851 </varlistentry>
852
853 <varlistentry id="libnss">
854 <term><filename class="libraryfile">libnss</filename></term>
855 <listitem>
856 <para>The Name Service Switch libraries, containing functions for
857 resolving host names, user names, group names, aliases, services,
858 protocols, etc.</para>
859 <indexterm zone="ch-system-glibc libnss">
860 <primary sortas="c-libnss">libnss</primary>
861 </indexterm>
862 </listitem>
863 </varlistentry>
864
865 <varlistentry id="libpcprofile">
866 <term><filename class="libraryfile">libpcprofile</filename></term>
867 <listitem>
868 <para>Contains profiling functions used to track the amount of CPU
869 time spent in specific source code lines</para>
870 <indexterm zone="ch-system-glibc libpcprofile">
871 <primary sortas="c-libpcprofile">libpcprofile</primary>
872 </indexterm>
873 </listitem>
874 </varlistentry>
875
876 <varlistentry id="libpthread">
877 <term><filename class="libraryfile">libpthread</filename></term>
878 <listitem>
879 <para>The POSIX threads library</para>
880 <indexterm zone="ch-system-glibc libpthread">
881 <primary sortas="c-libpthread">libpthread</primary>
882 </indexterm>
883 </listitem>
884 </varlistentry>
885
886 <varlistentry id="libresolv">
887 <term><filename class="libraryfile">libresolv</filename></term>
888 <listitem>
889 <para>Contains functions for creating, sending, and interpreting
890 packets to the Internet domain name servers</para>
891 <indexterm zone="ch-system-glibc libresolv">
892 <primary sortas="c-libresolv">libresolv</primary>
893 </indexterm>
894 </listitem>
895 </varlistentry>
896
897 <varlistentry id="librpcsvc">
898 <term><filename class="libraryfile">librpcsvc</filename></term>
899 <listitem>
900 <para>Contains functions providing miscellaneous RPC services</para>
901 <indexterm zone="ch-system-glibc librpcsvc">
902 <primary sortas="c-librpcsvc">librpcsvc</primary>
903 </indexterm>
904 </listitem>
905 </varlistentry>
906
907 <varlistentry id="librt">
908 <term><filename class="libraryfile">librt</filename></term>
909 <listitem>
910 <para>Contains functions providing most of the interfaces specified
911 by the POSIX.1b Realtime Extension</para>
912 <indexterm zone="ch-system-glibc librt">
913 <primary sortas="c-librt">librt</primary>
914 </indexterm>
915 </listitem>
916 </varlistentry>
917
918 <varlistentry id="libthread_db">
919 <term><filename class="libraryfile">libthread_db</filename></term>
920 <listitem>
921 <para>Contains functions useful for building debuggers for
922 multi-threaded programs</para>
923 <indexterm zone="ch-system-glibc libthread_db">
924 <primary sortas="c-libthread_db">libthread_db</primary>
925 </indexterm>
926 </listitem>
927 </varlistentry>
928
929 <varlistentry id="libutil">
930 <term><filename class="libraryfile">libutil</filename></term>
931 <listitem>
932 <para>Contains code for <quote>standard</quote> functions used in
933 many different Unix utilities</para>
934 <indexterm zone="ch-system-glibc libutil">
935 <primary sortas="c-libutil">libutil</primary>
936 </indexterm>
937 </listitem>
938 </varlistentry>
939
940 </variablelist>
941
942 </sect2>
943
944</sect1>
Note: See TracBrowser for help on using the repository browser.