source: chapter06/glibc.xml@ e747759

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 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/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since e747759 was e747759, checked in by Manuel Canales Esparcia <manuel@…>, 17 years ago

Added sect1info blocks to packages pages.

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

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