source: chapter06/glibc.xml@ 7b089c3f

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 12.2 12.2-rc1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/loongarch-12.2 xry111/mips64el xry111/multilib xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 7b089c3f was cf455b0e, checked in by Archaic <archaic@…>, 18 years ago

Wrapped a couple of filenames in filename tags.

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

  • Property mode set to 100644
File size: 32.1 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/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 <title>Glibc-&glibc-version;</title>
12
13 <indexterm zone="ch-system-glibc">
14 <primary sortas="a-Glibc">Glibc</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The Glibc package contains the main C library. This library provides
21 the basic routines for allocating memory, searching directories, opening and
22 closing files, reading and writing files, string handling, pattern matching,
23 arithmetic, and so on.</para>
24
25 <segmentedlist>
26 <segtitle>&buildtime;</segtitle>
27 <segtitle>&diskspace;</segtitle>
28
29 <seglistitem>
30 <seg>16.7 SBU</seg>
31 <seg>500 MB</seg>
32 </seglistitem>
33 </segmentedlist>
34
35 <segmentedlist>
36 <segtitle>&dependencies;</segtitle>
37
38 <seglistitem>
39 <seg>Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Gettext, Grep,
40 Make, Perl, Sed, and Texinfo</seg>
41 </seglistitem>
42 </segmentedlist>
43
44 </sect2>
45
46 <sect2 role="installation">
47 <title>Installation of Glibc</title>
48
49 <note>
50 <para>Some packages outside of LFS suggest installing GNU libiconv in
51 order to translate data from one encoding to another. The project's
52 home page (<ulink url="http://www.gnu.org/software/libiconv/"/>) says
53 <quote>This library provides an <function>iconv()</function>
54 implementation, for use on systems which don't have one, or whose
55 implementation cannot convert from/to Unicode.</quote> Glibc provides
56 an <function>iconv()</function> implementation and can convert from/to
57 Unicode, therefore libiconv is not required on an LFS system.</para>
58 </note>
59
60 <para>The Glibc build system is self-contained and will install
61 perfectly, even though the compiler specs file and linker are still
62 pointing at <filename class="directory">/tools</filename>. The specs
63 and linker cannot be adjusted before the Glibc install because the
64 Glibc autoconf tests would give false results and defeat the goal
65 of achieving a clean build.</para>
66
67 <para>The glibc-libidn tarball adds support for internationalized domain
68 names (IDN) to Glibc. Many programs that support IDN require the full
69 <filename class="libraryfile">libidn</filename> library (see
70 <ulink url="&blfs-root;view/svn/general/libidn.html"/>), not this add-on.
71 Unpack the tarball from within the Glibc source directory:</para>
72
73<screen><userinput>tar -xf ../glibc-libidn-&glibc-version;.tar.bz2</userinput></screen>
74
75 <para>Apply the following patch to fix build errors in packages that include
76 <filename class="headerfile">linux/types.h</filename> after <filename
77 class="headerfile">sys/kd.h</filename>:</para>
78
79<screen><userinput>patch -Np1 -i ../&glibc-linux_types-patch;</userinput></screen>
80
81 <para>In the vi_VN.TCVN locale, <command>bash</command> enters an infinite loop
82 at startup. It is unknown whether this is a <command>bash</command> bug or a
83 Glibc problem. Disable installation of this locale in order to avoid the
84 problem:</para>
85
86<screen><userinput>sed -i '/vi_VN.TCVN/d' localedata/SUPPORTED</userinput></screen>
87
88 <para>When running <command>make install</command>, a script called
89 <filename>test-installation.pl</filename> performs a small sanity test on
90 our newly installed Glibc. However, because our toolchain still points to
91 the <filename class="directory">/tools</filename> directory, the sanity
92 test would be carried out against the wrong Glibc. We can force the script
93 to check the Glibc we have just installed with the following:</para>
94
95<screen><userinput>sed -i \
96's|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=/lib/ld-linux.so.2 -o|' \
97 scripts/test-installation.pl</userinput></screen>
98
99 <para>The Glibc documentation recommends building Glibc outside of the source
100 directory in a dedicated build directory:</para>
101
102<screen><userinput>mkdir -v ../glibc-build
103cd ../glibc-build</userinput></screen>
104
105 <para>Prepare Glibc for compilation:</para>
106
107<screen><userinput>../glibc-&glibc-version;/configure --prefix=/usr \
108 --disable-profile --enable-add-ons \
109 --enable-kernel=2.6.0 --libexecdir=/usr/lib/glibc</userinput></screen>
110
111 <variablelist>
112 <title>The meaning of the new configure options:</title>
113
114 <varlistentry>
115 <term><parameter>--libexecdir=/usr/lib/glibc</parameter></term>
116 <listitem>
117 <para>This changes the location of the <command>pt_chown</command>
118 program from its default of <filename
119 class="directory">/usr/libexec</filename> to <filename
120 class="directory">/usr/lib/glibc</filename>.</para>
121 </listitem>
122 </varlistentry>
123
124 </variablelist>
125
126 <para>Compile the package:</para>
127
128<screen><userinput>make</userinput></screen>
129
130 <important>
131 <para>In this section, the test suite for Glibc is considered critical.
132 Do not skip it under any circumstance.</para>
133 </important>
134
135 <para>Test the results:</para>
136
137<screen><userinput>make -k check &gt;glibc-check-log 2&gt;&amp;1
138grep Error glibc-check-log</userinput></screen>
139
140 <para>On at least i686 you can expect to see failures in the
141 <emphasis>test-double </emphasis> and <emphasis>test-idouble</emphasis>
142 math tests with gcc-&gcc-version;, as well as an expected (ignored)
143 failure in <emphasis> posix/annexc</emphasis>. These two failures in
144 the math tests appear to be harmless.</para>
145
146 <para>The Glibc test suite is highly dependent on certain functions of
147 the host system, in particular the kernel. In certain circumstances,
148 some failures are unavoidable. This is a list of the most common
149 issues:</para>
150
151 <itemizedlist>
152 <listitem>
153 <para>The <emphasis>math</emphasis> tests sometimes fail in other
154 tests when running on systems where the CPU is not a relatively
155 new genuine Intel or authentic AMD. Certain optimization settings
156 are also known to be a factor here.</para>
157 </listitem>
158 <listitem>
159 <para>The <emphasis>gettext</emphasis> test sometimes fails due to
160 host system issues. The exact reasons are not yet clear.</para>
161 </listitem>
162 <listitem>
163 <para>If you have mounted the LFS partition with the
164 <parameter>noatime</parameter> option, the <emphasis>atime</emphasis>
165 test will fail. As mentioned in <xref linkend="space-mounting"/>, do not
166 use the <parameter>noatime</parameter> option while building LFS.</para>
167 </listitem>
168 <listitem>
169 <para>When running on older and slower hardware, some tests
170 can fail because of test timeouts being exceeded.</para>
171 </listitem>
172 </itemizedlist>
173
174 <para>Though it is a harmless message, the install stage of Glibc will
175 complain about the absence of <filename>/etc/ld.so.conf</filename>.
176 Prevent this warning with:</para>
177
178<screen><userinput>touch /etc/ld.so.conf</userinput></screen>
179
180 <para>Install the package:</para>
181
182<screen><userinput>make install</userinput></screen>
183
184 <para>The locales that can make the system respond in a different language
185 were not installed by the above command. None of the locales are required,
186 but, if some of them are misssing, testuites of the future packages would
187 skip important testcases.</para>
188
189 <para>Individual locales can be installed using the
190 <command>localedef</command> program. E.g., the first
191 <command>localedef</command> command below combines the
192 <filename>/usr/share/i18n/locales/de_DE</filename>
193 charset-independent locale definition with the
194 <filename>/usr/share/i18n/charmaps/ISO-8859-1.gz</filename>
195 charmap definition and appends the result to the
196 <filename>/usr/lib/locale/locale-archive</filename> file.
197 The following instructions will install the minimum set of
198 locales necessary for the optimal coverage of tests:</para>
199
200<screen role="nodump"><userinput>mkdir -pv /usr/lib/locale
201localedef -i de_DE -f ISO-8859-1 de_DE
202localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro
203localedef -i en_HK -f ISO-8859-1 en_HK
204localedef -i en_PH -f ISO-8859-1 en_PH
205localedef -i en_US -f ISO-8859-1 en_US
206localedef -i en_US -f UTF-8 en_US.UTF-8
207localedef -i es_MX -f ISO-8859-1 es_MX
208localedef -i fa_IR -f UTF-8 fa_IR
209localedef -i fr_FR -f ISO-8859-1 fr_FR
210localedef -i fr_FR@euro -f ISO-8859-15 fr_FR@euro
211localedef -i fr_FR -f UTF-8 fr_FR.UTF-8
212localedef -i it_IT -f ISO-8859-1 it_IT
213localedef -i ja_JP -f EUC-JP ja_JP</userinput></screen>
214
215 <para>In addition, install the locale for your own country, language and
216 character set.</para>
217
218 <para>Alternatively, install all locales listed in the
219 <filename>glibc-&glibc-version;/localedata/SUPPORTED</filename> file
220 (it includes every locale listed above and many more) at once with the
221 following time-consuming command:</para>
222
223<screen><userinput>make localedata/install-locales</userinput></screen>
224
225 <para>Then use the <command>localedef</command> command to create and
226 install locales not listed in the
227 <filename>glibc-&glibc-version;/localedata/SUPPORTED</filename> file
228 in the unlikely case if you need them.</para>
229 <!-- The Live CD patches the localedata/SUPPORTED file instead of
230 running localedef, the results are equivalent -->
231
232 </sect2>
233
234 <sect2 id="conf-glibc" role="configuration">
235 <title>Configuring Glibc</title>
236
237 <indexterm zone="conf-glibc">
238 <primary sortas="e-/etc/nsswitch.conf">/etc/nsswitch.conf</primary>
239 </indexterm>
240
241 <indexterm zone="conf-glibc">
242 <primary sortas="e-/etc/localtime">/etc/localtime</primary>
243 </indexterm>
244
245 <para>The <filename>/etc/nsswitch.conf</filename> file needs to be created
246 because, although Glibc provides defaults when this file is missing or corrupt,
247 the Glibc defaults do not work well in a networked environment. The time zone
248 also needs to be configured.</para>
249
250 <para>Create a new file <filename>/etc/nsswitch.conf</filename> by running the
251 following:</para>
252
253<screen><userinput>cat &gt; /etc/nsswitch.conf &lt;&lt; "EOF"
254<literal># Begin /etc/nsswitch.conf
255
256passwd: files
257group: files
258shadow: files
259
260hosts: files dns
261networks: files
262
263protocols: files
264services: files
265ethers: files
266rpc: files
267
268# End /etc/nsswitch.conf</literal>
269EOF</userinput></screen>
270
271 <para>To determine the local time zone, run the following script:</para>
272
273<screen role="nodump"><userinput>tzselect</userinput></screen>
274
275 <para>After answering a few questions about the location, the script will
276 output the name of the time zone (e.g., <emphasis>EST5EDT</emphasis> or
277 <emphasis>Canada/Eastern</emphasis>). Then create the
278 <filename>/etc/localtime</filename> file by running:</para>
279
280<screen><userinput>cp -v --remove-destination /usr/share/zoneinfo/<replaceable>&lt;xxx&gt;</replaceable> \
281 /etc/localtime</userinput></screen>
282
283 <para>Replace <replaceable>&lt;xxx&gt;</replaceable> with the name of the time zone
284 that <command>tzselect</command> provided (e.g., Canada/Eastern).</para>
285
286 <variablelist>
287 <title>The meaning of the cp option:</title>
288
289 <varlistentry>
290 <term><parameter>--remove-destination</parameter></term>
291 <listitem>
292 <para>This is needed to force removal of the already existing symbolic
293 link. The reason for copying the file instead of using a symlink is to
294 cover the situation where <filename class="directory">/usr</filename>
295 is on a separate partition. This could be important when booted into
296 single user mode.</para>
297 </listitem>
298 </varlistentry>
299
300 </variablelist>
301
302 </sect2>
303
304 <sect2 id="conf-ld" role="configuration">
305 <title>Configuring the Dynamic Loader</title>
306
307 <indexterm zone="conf-ld">
308 <primary sortas="e-/etc/ld.so.conf">/etc/ld.so.conf</primary>
309 </indexterm>
310
311 <para>By default, the dynamic loader (<filename
312 class="libraryfile">/lib/ld-linux.so.2</filename>) searches through
313 <filename class="directory">/lib</filename> and <filename
314 class="directory">/usr/lib</filename> for dynamic libraries that are
315 needed by programs as they are run. However, if there are libraries in
316 directories other than <filename class="directory">/lib</filename> and
317 <filename class="directory">/usr/lib</filename>, these need to be added
318 to the <filename>/etc/ld.so.conf</filename> file in order for the
319 dynamic loader to find them. Two directories that are commonly known
320 to contain additional libraries are <filename
321 class="directory">/usr/local/lib</filename> and <filename
322 class="directory">/opt/lib</filename>, so add those directories to the
323 dynamic loader's search path.</para>
324
325 <para>Create a new file <filename>/etc/ld.so.conf</filename> by running the
326 following:</para>
327
328<screen><userinput>cat &gt; /etc/ld.so.conf &lt;&lt; "EOF"
329<literal># Begin /etc/ld.so.conf
330
331/usr/local/lib
332/opt/lib
333
334# End /etc/ld.so.conf</literal>
335EOF</userinput></screen>
336
337 </sect2>
338
339 <sect2 id="contents-glibc" role="content">
340 <title>Contents of Glibc</title>
341
342 <segmentedlist>
343 <segtitle>Installed programs</segtitle>
344 <segtitle>Installed libraries</segtitle>
345
346 <seglistitem>
347 <seg>catchsegv, gencat, getconf, getent, iconv, iconvconfig, ldconfig,
348 ldd, lddlibc4, locale, localedef, mtrace, nscd, nscd_nischeck,
349 pcprofiledump, pt_chown, rpcgen, rpcinfo, sln, sprof, tzselect, xtrace,
350 zdump, and zic</seg>
351 <seg>ld.so, libBrokenLocale.{a,so}, libSegFault.so, libanl.{a,so},
352 libbsd-compat.a, libc.{a,so}, libcidn.so, libcrypt.{a,so}, libdl.{a,so},
353 libg.a, libieee.a, libm.{a,so}, libmcheck.a, libmemusage.so, libnsl.a,
354 libnss_compat.so, libnss_dns.so, libnss_files.so, libnss_hesiod.so,
355 libnss_nis.so, libnss_nisplus.so, libpcprofile.so, libpthread.{a,so},
356 libresolv.{a,so}, librpcsvc.a, librt.{a,so}, libthread_db.so, and
357 libutil.{a,so}</seg>
358 </seglistitem>
359 </segmentedlist>
360
361 <variablelist>
362 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
363 <?dbfo list-presentation="list"?>
364 <?dbhtml list-presentation="table"?>
365
366 <varlistentry id="catchsegv">
367 <term><command>catchsegv</command></term>
368 <listitem>
369 <para>Can be used to create a stack trace when a program
370 terminates with a segmentation fault</para>
371 <indexterm zone="ch-system-glibc catchsegv">
372 <primary sortas="b-catchsegv">catchsegv</primary>
373 </indexterm>
374 </listitem>
375 </varlistentry>
376
377 <varlistentry id="gencat">
378 <term><command>gencat</command></term>
379 <listitem>
380 <para>Generates message catalogues</para>
381 <indexterm zone="ch-system-glibc gencat">
382 <primary sortas="b-gencat">gencat</primary>
383 </indexterm>
384 </listitem>
385 </varlistentry>
386
387 <varlistentry id="getconf">
388 <term><command>getconf</command></term>
389 <listitem>
390 <para>Displays the system configuration values for file system
391 specific variables</para>
392 <indexterm zone="ch-system-glibc getconf">
393 <primary sortas="b-getconf">getconf</primary>
394 </indexterm>
395 </listitem>
396 </varlistentry>
397
398 <varlistentry id="getent">
399 <term><command>getent</command></term>
400 <listitem>
401 <para>Gets entries from an administrative database</para>
402 <indexterm zone="ch-system-glibc getent">
403 <primary sortas="b-getent">getent</primary>
404 </indexterm>
405 </listitem>
406 </varlistentry>
407
408 <varlistentry id="iconv">
409 <term><command>iconv</command></term>
410 <listitem>
411 <para>Performs character set conversion</para>
412 <indexterm zone="ch-system-glibc iconv">
413 <primary sortas="b-iconv">iconv</primary>
414 </indexterm>
415 </listitem>
416 </varlistentry>
417
418 <varlistentry id="iconvconfig">
419 <term><command>iconvconfig</command></term>
420 <listitem>
421 <para>Creates fastloading <command>iconv</command> module configuration
422 files</para>
423 <indexterm zone="ch-system-glibc iconvconfig">
424 <primary sortas="b-iconvconfig">iconvconfig</primary>
425 </indexterm>
426 </listitem>
427 </varlistentry>
428
429 <varlistentry id="ldconfig">
430 <term><command>ldconfig</command></term>
431 <listitem>
432 <para>Configures the dynamic linker runtime bindings</para>
433 <indexterm zone="ch-system-glibc ldconfig">
434 <primary sortas="b-ldconfig">ldconfig</primary>
435 </indexterm>
436 </listitem>
437 </varlistentry>
438
439 <varlistentry id="ldd">
440 <term><command>ldd</command></term>
441 <listitem>
442 <para>Reports which shared libraries are required
443 by each given program or shared library</para>
444 <indexterm zone="ch-system-glibc ldd">
445 <primary sortas="b-ldd">ldd</primary>
446 </indexterm>
447 </listitem>
448 </varlistentry>
449
450 <varlistentry id="lddlibc4">
451 <term><command>lddlibc4</command></term>
452 <listitem>
453 <para>Assists <command>ldd</command> with object files</para>
454 <indexterm zone="ch-system-glibc lddlibc4">
455 <primary sortas="b-lddlibc4">lddlibc4</primary>
456 </indexterm>
457 </listitem>
458 </varlistentry>
459
460 <varlistentry id="locale">
461 <term><command>locale</command></term>
462 <listitem>
463 <para>Prints various information about the current locale</para>
464 <indexterm zone="ch-system-glibc locale">
465 <primary sortas="b-locale">locale</primary>
466 </indexterm>
467 </listitem>
468 </varlistentry>
469
470 <varlistentry id="localedef">
471 <term><command>localedef</command></term>
472 <listitem>
473 <para>Compiles locale specifications</para>
474 <indexterm zone="ch-system-glibc localedef">
475 <primary sortas="b-localedef">localedef</primary>
476 </indexterm>
477 </listitem>
478 </varlistentry>
479
480 <varlistentry id="mtrace">
481 <term><command>mtrace</command></term>
482 <listitem>
483 <para>Reads and interprets a memory trace file and displays a summary
484 in human-readable format</para>
485 <indexterm zone="ch-system-glibc mtrace">
486 <primary sortas="b-mtrace">mtrace</primary>
487 </indexterm>
488 </listitem>
489 </varlistentry>
490
491 <varlistentry id="nscd">
492 <term><command>nscd</command></term>
493 <listitem>
494 <para>A daemon that provides a cache for the most common name
495 service requests</para>
496 <indexterm zone="ch-system-glibc nscd">
497 <primary sortas="b-nscd">nscd</primary>
498 </indexterm>
499 </listitem>
500 </varlistentry>
501
502 <varlistentry id="nscd_nischeck">
503 <term><command>nscd_nischeck</command></term>
504 <listitem>
505 <para>Checks whether or not secure mode is necessary for NIS+
506 lookup</para>
507 <indexterm zone="ch-system-glibc nscd_nischeck">
508 <primary sortas="b-nscd_nischeck">nscd_nischeck</primary>
509 </indexterm>
510 </listitem>
511 </varlistentry>
512
513 <varlistentry id="pcprofiledump">
514 <term><command>pcprofiledump</command></term>
515 <listitem>
516 <para>Dumps information generated by PC profiling</para>
517 <indexterm zone="ch-system-glibc pcprofiledump">
518 <primary sortas="b-pcprofiledump">pcprofiledump</primary>
519 </indexterm>
520 </listitem>
521 </varlistentry>
522
523 <varlistentry id="pt_chown">
524 <term><command>pt_chown</command></term>
525 <listitem>
526 <para>A helper program for <command>grantpt</command> to set the owner,
527 group and access permissions of a slave pseudo terminal</para>
528 <indexterm zone="ch-system-glibc pt_chown">
529 <primary sortas="b-pt_chown">pt_chown</primary>
530 </indexterm>
531 </listitem>
532 </varlistentry>
533
534 <varlistentry id="rpcgen">
535 <term><command>rpcgen</command></term>
536 <listitem>
537 <para>Generates C code to implement the Remote Procecure Call (RPC)
538 protocol</para>
539 <indexterm zone="ch-system-glibc rpcgen">
540 <primary sortas="b-rpcgen">rpcgen</primary>
541 </indexterm>
542 </listitem>
543 </varlistentry>
544
545 <varlistentry id="rpcinfo">
546 <term><command>rpcinfo</command></term>
547 <listitem>
548 <para>Makes an RPC call to an RPC server</para>
549 <indexterm zone="ch-system-glibc rpcinfo">
550 <primary sortas="b-rpcinfo">rpcinfo</primary>
551 </indexterm>
552 </listitem>
553 </varlistentry>
554
555 <varlistentry id="sln">
556 <term><command>sln</command></term>
557 <listitem>
558 <para>A statically linked <command>ln</command> program</para>
559 <indexterm zone="ch-system-glibc sln">
560 <primary sortas="b-sln">sln</primary>
561 </indexterm>
562 </listitem>
563 </varlistentry>
564
565 <varlistentry id="sprof">
566 <term><command>sprof</command></term>
567 <listitem>
568 <para>Reads and displays shared object profiling data</para>
569 <indexterm zone="ch-system-glibc sprof">
570 <primary sortas="b-sprof">sprof</primary>
571 </indexterm>
572 </listitem>
573 </varlistentry>
574
575 <varlistentry id="tzselect">
576 <term><command>tzselect</command></term>
577 <listitem>
578 <para>Asks the user about the location of the system and reports
579 the corresponding time zone description</para>
580 <indexterm zone="ch-system-glibc tzselect">
581 <primary sortas="b-tzselect">tzselect</primary>
582 </indexterm>
583 </listitem>
584 </varlistentry>
585
586 <varlistentry id="xtrace">
587 <term><command>xtrace</command></term>
588 <listitem>
589 <para>Traces the execution of a program by printing the currently
590 executed function</para>
591 <indexterm zone="ch-system-glibc xtrace">
592 <primary sortas="b-xtrace">xtrace</primary>
593 </indexterm>
594 </listitem>
595 </varlistentry>
596
597 <varlistentry id="zdump">
598 <term><command>zdump</command></term>
599 <listitem>
600 <para>The time zone dumper</para>
601 <indexterm zone="ch-system-glibc zdump">
602 <primary sortas="b-zdump">zdump</primary>
603 </indexterm>
604 </listitem>
605 </varlistentry>
606
607 <varlistentry id="zic">
608 <term><command>zic</command></term>
609 <listitem>
610 <para>The time zone compiler</para>
611 <indexterm zone="ch-system-glibc zic">
612 <primary sortas="b-zic">zic</primary>
613 </indexterm>
614 </listitem>
615 </varlistentry>
616
617 <varlistentry id="ld.so">
618 <term><filename class="libraryfile">ld.so</filename></term>
619 <listitem>
620 <para>The helper program for shared library executables</para>
621 <indexterm zone="ch-system-glibc ld.so">
622 <primary sortas="c-ld.so">ld.so</primary>
623 </indexterm>
624 </listitem>
625 </varlistentry>
626
627 <varlistentry id="libBrokenLocale">
628 <term><filename class="libraryfile">libBrokenLocale</filename></term>
629 <listitem>
630 <para>Used internally by Glibc as a gross hack to get broken programs
631 (e.g., some Motif applications) running. See comments in
632 <filename>glibc-&glibc-version;/locale/broken_cur_max.c</filename>
633 for more information</para>
634 <indexterm zone="ch-system-glibc libBrokenLocale">
635 <primary sortas="c-libBrokenLocale">libBrokenLocale</primary>
636 </indexterm>
637 </listitem>
638 </varlistentry>
639
640 <varlistentry id="libSegFault">
641 <term><filename class="libraryfile">libSegFault</filename></term>
642 <listitem>
643 <para>The segmentation fault signal handler, used by
644 <command>catchsegv</command></para>
645 <indexterm zone="ch-system-glibc libSegFault">
646 <primary sortas="c-libSegFault">libSegFault</primary>
647 </indexterm>
648 </listitem>
649 </varlistentry>
650
651 <varlistentry id="libanl">
652 <term><filename class="libraryfile">libanl</filename></term>
653 <listitem>
654 <para>An asynchronous name lookup library</para>
655 <indexterm zone="ch-system-glibc libanl">
656 <primary sortas="c-libanl">libanl</primary>
657 </indexterm>
658 </listitem>
659 </varlistentry>
660
661 <varlistentry id="libbsd-compat">
662 <term><filename class="libraryfile">libbsd-compat</filename></term>
663 <listitem>
664 <para>Provides the portability needed in order to run certain Berkey
665 Software Distribution (BSD) programs under Linux</para>
666 <indexterm zone="ch-system-glibc libbsd-compat">
667 <primary sortas="c-libbsd-compat">libbsd-compat</primary>
668 </indexterm>
669 </listitem>
670 </varlistentry>
671
672 <varlistentry id="libc">
673 <term><filename class="libraryfile">libc</filename></term>
674 <listitem>
675 <para>The main C library</para>
676 <indexterm zone="ch-system-glibc libc">
677 <primary sortas="c-libc">libc</primary>
678 </indexterm>
679 </listitem>
680 </varlistentry>
681
682 <varlistentry id="libcidn">
683 <term><filename class="libraryfile">libcidn</filename></term>
684 <listitem>
685 <para>Used internally by Glibc for handling internationalized domain
686 names in the <function>getaddrinfo()</function> function</para>
687 <indexterm zone="ch-system-glibc libcrypt">
688 <primary sortas="c-libcrypt">libcrypt</primary>
689 </indexterm>
690 </listitem>
691 </varlistentry>
692
693 <varlistentry id="libcrypt">
694 <term><filename class="libraryfile">libcrypt</filename></term>
695 <listitem>
696 <para>The cryptography library</para>
697 <indexterm zone="ch-system-glibc libcrypt">
698 <primary sortas="c-libcrypt">libcrypt</primary>
699 </indexterm>
700 </listitem>
701 </varlistentry>
702
703 <varlistentry id="libdl">
704 <term><filename class="libraryfile">libdl</filename></term>
705 <listitem>
706 <para>The dynamic linking interface library</para>
707 <indexterm zone="ch-system-glibc libdl">
708 <primary sortas="c-libdl">libdl</primary>
709 </indexterm>
710 </listitem>
711 </varlistentry>
712
713 <varlistentry id="libg">
714 <term><filename class="libraryfile">libg</filename></term>
715 <listitem>
716 <para>Dummy library containing no functions. Previously was a runtime
717 library for <command>g++</command></para>
718 <indexterm zone="ch-system-glibc libg">
719 <primary sortas="c-libg">libg</primary>
720 </indexterm>
721 </listitem>
722 </varlistentry>
723
724 <varlistentry id="libieee">
725 <term><filename class="libraryfile">libieee</filename></term>
726 <listitem>
727 <para>Linking in this module forces error handling rules for math
728 functions as defined by the Institute of Electrical and Electronic
729 Engineers (IEEE). The default is POSIX.1 error handling</para>
730 <indexterm zone="ch-system-glibc libieee">
731 <primary sortas="c-libieee">libieee</primary>
732 </indexterm>
733 </listitem>
734 </varlistentry>
735
736 <varlistentry id="libm">
737 <term><filename class="libraryfile">libm</filename></term>
738 <listitem>
739 <para>The mathematical library</para>
740 <indexterm zone="ch-system-glibc libm">
741 <primary sortas="c-libm">libm</primary>
742 </indexterm>
743 </listitem>
744 </varlistentry>
745
746 <varlistentry id="libmcheck">
747 <term><filename class="libraryfile">libmcheck</filename></term>
748 <listitem>
749 <para>Turns on memory allocation checking when linked to</para>
750 <indexterm zone="ch-system-glibc libmcheck">
751 <primary sortas="c-libmcheck">libmcheck</primary>
752 </indexterm>
753 </listitem>
754 </varlistentry>
755
756 <varlistentry id="libmemusage">
757 <term><filename class="libraryfile">libmemusage</filename></term>
758 <listitem>
759 <para>Used by <command>memusage</command> to help collect
760 information about the memory usage of a program</para>
761 <indexterm zone="ch-system-glibc libmemusage">
762 <primary sortas="c-libmemusage">libmemusage</primary>
763 </indexterm>
764 </listitem>
765 </varlistentry>
766
767 <varlistentry id="libnsl">
768 <term><filename class="libraryfile">libnsl</filename></term>
769 <listitem>
770 <para>The network services library</para>
771 <indexterm zone="ch-system-glibc libnsl">
772 <primary sortas="c-libnsl">libnsl</primary>
773 </indexterm>
774 </listitem>
775 </varlistentry>
776
777 <varlistentry id="libnss">
778 <term><filename class="libraryfile">libnss</filename></term>
779 <listitem>
780 <para>The Name Service Switch libraries, containing functions for
781 resolving host names, user names, group names, aliases, services,
782 protocols, etc.</para>
783 <indexterm zone="ch-system-glibc libnss">
784 <primary sortas="c-libnss">libnss</primary>
785 </indexterm>
786 </listitem>
787 </varlistentry>
788
789 <varlistentry id="libpcprofile">
790 <term><filename class="libraryfile">libpcprofile</filename></term>
791 <listitem>
792 <para>Contains profiling functions used to track the amount of CPU
793 time spent in specific source code lines</para>
794 <indexterm zone="ch-system-glibc libpcprofile">
795 <primary sortas="c-libpcprofile">libpcprofile</primary>
796 </indexterm>
797 </listitem>
798 </varlistentry>
799
800 <varlistentry id="libpthread">
801 <term><filename class="libraryfile">libpthread</filename></term>
802 <listitem>
803 <para>The POSIX threads library</para>
804 <indexterm zone="ch-system-glibc libpthread">
805 <primary sortas="c-libpthread">libpthread</primary>
806 </indexterm>
807 </listitem>
808 </varlistentry>
809
810 <varlistentry id="libresolv">
811 <term><filename class="libraryfile">libresolv</filename></term>
812 <listitem>
813 <para>Contains functions for creating, sending, and interpreting
814 packets to the Internet domain name servers</para>
815 <indexterm zone="ch-system-glibc libresolv">
816 <primary sortas="c-libresolv">libresolv</primary>
817 </indexterm>
818 </listitem>
819 </varlistentry>
820
821 <varlistentry id="librpcsvc">
822 <term><filename class="libraryfile">librpcsvc</filename></term>
823 <listitem>
824 <para>Contains functions providing miscellaneous RPC services</para>
825 <indexterm zone="ch-system-glibc librpcsvc">
826 <primary sortas="c-librpcsvc">librpcsvc</primary>
827 </indexterm>
828 </listitem>
829 </varlistentry>
830
831 <varlistentry id="librt">
832 <term><filename class="libraryfile">librt</filename></term>
833 <listitem>
834 <para>Contains functions providing most of the interfaces specified
835 by the POSIX.1b Realtime Extension</para>
836 <indexterm zone="ch-system-glibc librt">
837 <primary sortas="c-librt">librt</primary>
838 </indexterm>
839 </listitem>
840 </varlistentry>
841
842 <varlistentry id="libthread_db">
843 <term><filename class="libraryfile">libthread_db</filename></term>
844 <listitem>
845 <para>Contains functions useful for building debuggers for
846 multi-threaded programs</para>
847 <indexterm zone="ch-system-glibc libthread_db">
848 <primary sortas="c-libthread_db">libthread_db</primary>
849 </indexterm>
850 </listitem>
851 </varlistentry>
852
853 <varlistentry id="libutil">
854 <term><filename class="libraryfile">libutil</filename></term>
855 <listitem>
856 <para>Contains code for <quote>standard</quote> functions used in
857 many different Unix utilities</para>
858 <indexterm zone="ch-system-glibc libutil">
859 <primary sortas="c-libutil">libutil</primary>
860 </indexterm>
861 </listitem>
862 </varlistentry>
863
864 </variablelist>
865
866 </sect2>
867
868</sect1>
Note: See TracBrowser for help on using the repository browser.