source: chapter06/glibc.xml@ 28b40e2

Last change on this file since 28b40e2 was 28b40e2, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Finished the PDF fixes.

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

  • Property mode set to 100644
File size: 31.9 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>&glibc-ch6-sbu;</seg>
31 <seg>&glibc-ch6-du;</seg>
32 </seglistitem>
33 </segmentedlist>
34
35 </sect2>
36
37 <sect2 role="installation">
38 <title>Installation of Glibc</title>
39
40 <note>
41 <para>Some packages outside of LFS suggest installing GNU libiconv in
42 order to translate data from one encoding to another. The project's
43 home page (<ulink url="http://www.gnu.org/software/libiconv/"/>) says
44 <quote>This library provides an <function>iconv()</function>
45 implementation, for use on systems which don't have one, or whose
46 implementation cannot convert from/to Unicode.</quote> Glibc provides
47 an <function>iconv()</function> implementation and can convert from/to
48 Unicode, therefore libiconv is not required on an LFS system.</para>
49 </note>
50
51 <para>The Glibc build system is self-contained and will install
52 perfectly, even though the compiler specs file and linker are still
53 pointing at <filename class="directory">/tools</filename>. The specs
54 and linker cannot be adjusted before the Glibc install because the
55 Glibc autoconf tests would give false results and defeat the goal
56 of achieving a clean build.</para>
57
58 <para>The glibc-libidn tarball adds support for internationalized domain
59 names (IDN) to Glibc. Many programs that support IDN require the full
60 <filename class="libraryfile">libidn</filename> library, not this add-on (see
61 <ulink url="&blfs-root;view/svn/general/libidn.html"/>).
62 Unpack the tarball from within the Glibc source directory:</para>
63
64<screen><userinput>tar -xf ../glibc-libidn-&glibc-version;.tar.bz2</userinput></screen>
65
66 <para>Apply the following patch to fix build errors in packages that include
67 <filename class="headerfile">linux/types.h</filename> after <filename
68 class="headerfile">sys/kd.h</filename>:</para>
69
70<screen><userinput>patch -Np1 -i ../&glibc-linux_types-patch;</userinput></screen>
71
72 <para>In the vi_VN.TCVN locale, <command>bash</command> enters an infinite loop
73 at startup. It is unknown whether this is a <command>bash</command> bug or a
74 Glibc problem. Disable installation of this locale in order to avoid the
75 problem:</para>
76
77<screen><userinput>sed -i '/vi_VN.TCVN/d' localedata/SUPPORTED</userinput></screen>
78
79 <para>When running <command>make install</command>, a script called
80 <filename>test-installation.pl</filename> performs a small sanity test on
81 our newly installed Glibc. However, because our toolchain still points to
82 the <filename class="directory">/tools</filename> directory, the sanity
83 test would be carried out against the wrong Glibc. We can force the script
84 to check the Glibc we have just installed with the following:</para>
85
86<screen><userinput>sed -i \
87's|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=/lib/ld-linux.so.2 -o|' \
88 scripts/test-installation.pl</userinput></screen>
89
90 <beginpage/>
91
92 <para>The Glibc documentation recommends building Glibc outside of the source
93 directory in a dedicated build directory:</para>
94
95<screen><userinput>mkdir -v ../glibc-build
96cd ../glibc-build</userinput></screen>
97
98 <para>Prepare Glibc for compilation:</para>
99
100<screen><userinput>../glibc-&glibc-version;/configure --prefix=/usr \
101 --disable-profile --enable-add-ons \
102 --enable-kernel=2.6.0 --libexecdir=/usr/lib/glibc</userinput></screen>
103
104 <variablelist>
105 <title>The meaning of the new configure options:</title>
106
107 <varlistentry>
108 <term><parameter>--libexecdir=/usr/lib/glibc</parameter></term>
109 <listitem>
110 <para>This changes the location of the <command>pt_chown</command>
111 program from its default of <filename
112 class="directory">/usr/libexec</filename> to <filename
113 class="directory">/usr/lib/glibc</filename>.</para>
114 </listitem>
115 </varlistentry>
116
117 </variablelist>
118
119 <para>Compile the package:</para>
120
121<screen><userinput>make</userinput></screen>
122
123 <important>
124 <para>In this section, the test suite for Glibc is considered critical.
125 Do not skip it under any circumstance.</para>
126 </important>
127
128 <para>Test the results:</para>
129
130<screen><userinput>make -k check 2&gt;&amp;1 | tee glibc-check-log
131grep Error glibc-check-log</userinput></screen>
132
133 <para>You will probably see an expected (ignored) failure in the
134 <emphasis>posix/annexc</emphasis> test. In addition the Glibc test suite
135 is somewhat dependent on the host system. This is a list of the most
136 common issues:</para>
137
138 <itemizedlist>
139 <listitem>
140 <para>The <emphasis>nptl/tst-clock2</emphasis> and
141 <emphasis>tst-attr3</emphasis> tests sometimes
142 fail. The reason is not completely understood, but indications
143 are that a heavy system load can trigger these failures.</para>
144 </listitem>
145 <listitem>
146 <para>The math tests sometimes fail when running on
147 systems where the CPU is not a relatively new genuine Intel or
148 authentic AMD processor.</para>
149 </listitem>
150 <listitem>
151 <para>If you have mounted the LFS partition with the
152 <parameter>noatime</parameter> option, the <emphasis>atime</emphasis>
153 test will fail. As mentioned in <xref linkend="space-mounting"/>, do not
154 use the <parameter>noatime</parameter> option while building LFS.</para>
155 </listitem>
156 <listitem>
157 <para>When running on older and slower hardware or on systems under
158 load, some tests can fail because of test timeouts being exceeded.</para>
159 </listitem>
160 </itemizedlist>
161
162 <para>Though it is a harmless message, the install stage of Glibc will
163 complain about the absence of <filename>/etc/ld.so.conf</filename>.
164 Prevent this warning with:</para>
165
166<screen><userinput>touch /etc/ld.so.conf</userinput></screen>
167
168 <para>Install the package:</para>
169
170<screen><userinput>make install</userinput></screen>
171
172 <para>The locales that can make the system respond in a different language
173 were not installed by the above command. None of the locales are required,
174 but, if some of them are misssing, testuites of the future packages would
175 skip important testcases.</para>
176
177 <para>Individual locales can be installed using the
178 <command>localedef</command> program. E.g., the first
179 <command>localedef</command> command below combines the
180 <filename>/usr/share/i18n/locales/de_DE</filename>
181 charset-independent locale definition with the
182 <filename>/usr/share/i18n/charmaps/ISO-8859-1.gz</filename>
183 charmap definition and appends the result to the
184 <filename>/usr/lib/locale/locale-archive</filename> file.
185 The following instructions will install the minimum set of
186 locales necessary for the optimal coverage of tests:</para>
187
188<screen role="nodump"><userinput>mkdir -pv /usr/lib/locale
189localedef -i de_DE -f ISO-8859-1 de_DE
190localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro
191localedef -i en_HK -f ISO-8859-1 en_HK
192localedef -i en_PH -f ISO-8859-1 en_PH
193localedef -i en_US -f ISO-8859-1 en_US
194localedef -i en_US -f UTF-8 en_US.UTF-8
195localedef -i es_MX -f ISO-8859-1 es_MX
196localedef -i fa_IR -f UTF-8 fa_IR
197localedef -i fr_FR -f ISO-8859-1 fr_FR
198localedef -i fr_FR@euro -f ISO-8859-15 fr_FR@euro
199localedef -i fr_FR -f UTF-8 fr_FR.UTF-8
200localedef -i it_IT -f ISO-8859-1 it_IT
201localedef -i ja_JP -f EUC-JP ja_JP</userinput></screen>
202
203 <para>In addition, install the locale for your own country, language and
204 character set.</para>
205
206 <para>Alternatively, install all locales listed in the
207 <filename>glibc-&glibc-version;/localedata/SUPPORTED</filename> file
208 (it includes every locale listed above and many more) at once with the
209 following time-consuming command:</para>
210
211<screen><userinput>make localedata/install-locales</userinput></screen>
212
213 <para>Then use the <command>localedef</command> command to create and
214 install locales not listed in the
215 <filename>glibc-&glibc-version;/localedata/SUPPORTED</filename> file
216 in the unlikely case if you need them.</para>
217 <!-- The Live CD patches the localedata/SUPPORTED file instead of
218 running localedef, the results are equivalent -->
219
220 </sect2>
221
222 <sect2 id="conf-glibc" role="configuration">
223 <title>Configuring Glibc</title>
224
225 <indexterm zone="conf-glibc">
226 <primary sortas="e-/etc/nsswitch.conf">/etc/nsswitch.conf</primary>
227 </indexterm>
228
229 <indexterm zone="conf-glibc">
230 <primary sortas="e-/etc/localtime">/etc/localtime</primary>
231 </indexterm>
232
233 <para>The <filename>/etc/nsswitch.conf</filename> file needs to be created
234 because, although Glibc provides defaults when this file is missing or corrupt,
235 the Glibc defaults do not work well in a networked environment. The time zone
236 also needs to be configured.</para>
237
238 <beginpage/>
239
240 <para>Create a new file <filename>/etc/nsswitch.conf</filename> by running the
241 following:</para>
242
243<screen><userinput>cat &gt; /etc/nsswitch.conf &lt;&lt; "EOF"
244<literal># Begin /etc/nsswitch.conf
245
246passwd: files
247group: files
248shadow: files
249
250hosts: files dns
251networks: files
252
253protocols: files
254services: files
255ethers: files
256rpc: files
257
258# End /etc/nsswitch.conf</literal>
259EOF</userinput></screen>
260
261 <para>One way to determine the local time zone, run the following
262 script:</para>
263
264<screen role="nodump"><userinput>tzselect</userinput></screen>
265
266 <para>After answering a few questions about the location, the script will
267 output the name of the time zone (e.g.,
268 <emphasis>America/Edmonton</emphasis>). There are also some other possible
269 timezones listed in <filename
270 class='directory'>/usr/share/zoneinfo</filename> such as
271 <emphasis>Canada/Eastern</emphasis> or <emphasis>EST5EDT</emphasis> that
272 are not identified by the script but can be used.</para>
273
274 <para>Then create the <filename>/etc/localtime</filename> file by
275 running:</para>
276
277<screen><userinput>cp -v --remove-destination /usr/share/zoneinfo/<replaceable>&lt;xxx&gt;</replaceable> \
278 /etc/localtime</userinput></screen>
279
280 <para>Replace <replaceable>&lt;xxx&gt;</replaceable> with the name of the
281 time zone selected (e.g., Canada/Eastern).</para>
282
283 <variablelist>
284 <title>The meaning of the cp option:</title>
285
286 <varlistentry>
287 <term><parameter>--remove-destination</parameter></term>
288 <listitem>
289 <para>This is needed to force removal of the already existing symbolic
290 link. The reason for copying the file instead of using a symlink is to
291 cover the situation where <filename class="directory">/usr</filename>
292 is on a separate partition. This could be important when booted into
293 single user mode.</para>
294 </listitem>
295 </varlistentry>
296
297 </variablelist>
298
299 </sect2>
300
301 <sect2 id="conf-ld" role="configuration">
302 <title>Configuring the Dynamic Loader</title>
303
304 <indexterm zone="conf-ld">
305 <primary sortas="e-/etc/ld.so.conf">/etc/ld.so.conf</primary>
306 </indexterm>
307
308 <para>By default, the dynamic loader (<filename
309 class="libraryfile">/lib/ld-linux.so.2</filename>) searches through
310 <filename class="directory">/lib</filename> and <filename
311 class="directory">/usr/lib</filename> for dynamic libraries that are
312 needed by programs as they are run. However, if there are libraries in
313 directories other than <filename class="directory">/lib</filename> and
314 <filename class="directory">/usr/lib</filename>, these need to be added
315 to the <filename>/etc/ld.so.conf</filename> file in order for the
316 dynamic loader to find them. Two directories that are commonly known
317 to contain additional libraries are <filename
318 class="directory">/usr/local/lib</filename> and <filename
319 class="directory">/opt/lib</filename>, so add those directories to the
320 dynamic loader's search path.</para>
321
322 <beginpage/>
323
324 <para>Create a new file <filename>/etc/ld.so.conf</filename> by running the
325 following:</para>
326
327<screen><userinput>cat &gt; /etc/ld.so.conf &lt;&lt; "EOF"
328<literal># Begin /etc/ld.so.conf
329
330/usr/local/lib
331/opt/lib
332
333# End /etc/ld.so.conf</literal>
334EOF</userinput></screen>
335
336 </sect2>
337
338 <sect2 id="contents-glibc" role="content">
339 <title>Contents of Glibc</title>
340
341 <segmentedlist>
342 <segtitle>Installed programs</segtitle>
343 <segtitle>Installed libraries</segtitle>
344
345 <seglistitem>
346 <seg>catchsegv, gencat, getconf, getent, iconv, iconvconfig, ldconfig,
347 ldd, lddlibc4, locale, localedef, mtrace, nscd, nscd_nischeck,
348 pcprofiledump, pt_chown, rpcgen, rpcinfo, sln, sprof, tzselect, xtrace,
349 zdump, and zic</seg>
350 <seg>ld.so, libBrokenLocale.{a,so}, libSegFault.so, libanl.{a,so},
351 libbsd-compat.a, libc.{a,so}, libcidn.so, libcrypt.{a,so}, libdl.{a,so},
352 libg.a, libieee.a, libm.{a,so}, libmcheck.a, libmemusage.so, libnsl.a,
353 libnss_compat.so, libnss_dns.so, libnss_files.so, libnss_hesiod.so,
354 libnss_nis.so, libnss_nisplus.so, libpcprofile.so, libpthread.{a,so},
355 libresolv.{a,so}, librpcsvc.a, librt.{a,so}, libthread_db.so, and
356 libutil.{a,so}</seg>
357 </seglistitem>
358 </segmentedlist>
359
360 <variablelist>
361 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
362 <?dbfo list-presentation="list"?>
363 <?dbhtml list-presentation="table"?>
364
365 <varlistentry id="catchsegv">
366 <term><command>catchsegv</command></term>
367 <listitem>
368 <para>Can be used to create a stack trace when a program
369 terminates with a segmentation fault</para>
370 <indexterm zone="ch-system-glibc catchsegv">
371 <primary sortas="b-catchsegv">catchsegv</primary>
372 </indexterm>
373 </listitem>
374 </varlistentry>
375
376 <varlistentry id="gencat">
377 <term><command>gencat</command></term>
378 <listitem>
379 <para>Generates message catalogues</para>
380 <indexterm zone="ch-system-glibc gencat">
381 <primary sortas="b-gencat">gencat</primary>
382 </indexterm>
383 </listitem>
384 </varlistentry>
385
386 <varlistentry id="getconf">
387 <term><command>getconf</command></term>
388 <listitem>
389 <para>Displays the system configuration values for file system
390 specific variables</para>
391 <indexterm zone="ch-system-glibc getconf">
392 <primary sortas="b-getconf">getconf</primary>
393 </indexterm>
394 </listitem>
395 </varlistentry>
396
397 <varlistentry id="getent">
398 <term><command>getent</command></term>
399 <listitem>
400 <para>Gets entries from an administrative database</para>
401 <indexterm zone="ch-system-glibc getent">
402 <primary sortas="b-getent">getent</primary>
403 </indexterm>
404 </listitem>
405 </varlistentry>
406
407 <varlistentry id="iconv">
408 <term><command>iconv</command></term>
409 <listitem>
410 <para>Performs character set conversion</para>
411 <indexterm zone="ch-system-glibc iconv">
412 <primary sortas="b-iconv">iconv</primary>
413 </indexterm>
414 </listitem>
415 </varlistentry>
416
417 <varlistentry id="iconvconfig">
418 <term><command>iconvconfig</command></term>
419 <listitem>
420 <para>Creates fastloading <command>iconv</command> module configuration
421 files</para>
422 <indexterm zone="ch-system-glibc iconvconfig">
423 <primary sortas="b-iconvconfig">iconvconfig</primary>
424 </indexterm>
425 </listitem>
426 </varlistentry>
427
428 <varlistentry id="ldconfig">
429 <term><command>ldconfig</command></term>
430 <listitem>
431 <para>Configures the dynamic linker runtime bindings</para>
432 <indexterm zone="ch-system-glibc ldconfig">
433 <primary sortas="b-ldconfig">ldconfig</primary>
434 </indexterm>
435 </listitem>
436 </varlistentry>
437
438 <varlistentry id="ldd">
439 <term><command>ldd</command></term>
440 <listitem>
441 <para>Reports which shared libraries are required
442 by each given program or shared library</para>
443 <indexterm zone="ch-system-glibc ldd">
444 <primary sortas="b-ldd">ldd</primary>
445 </indexterm>
446 </listitem>
447 </varlistentry>
448
449 <varlistentry id="lddlibc4">
450 <term><command>lddlibc4</command></term>
451 <listitem>
452 <para>Assists <command>ldd</command> with object files</para>
453 <indexterm zone="ch-system-glibc lddlibc4">
454 <primary sortas="b-lddlibc4">lddlibc4</primary>
455 </indexterm>
456 </listitem>
457 </varlistentry>
458
459 <varlistentry id="locale">
460 <term><command>locale</command></term>
461 <listitem>
462 <para>Prints various information about the current locale</para>
463 <indexterm zone="ch-system-glibc locale">
464 <primary sortas="b-locale">locale</primary>
465 </indexterm>
466 </listitem>
467 </varlistentry>
468
469 <varlistentry id="localedef">
470 <term><command>localedef</command></term>
471 <listitem>
472 <para>Compiles locale specifications</para>
473 <indexterm zone="ch-system-glibc localedef">
474 <primary sortas="b-localedef">localedef</primary>
475 </indexterm>
476 </listitem>
477 </varlistentry>
478
479 <varlistentry id="mtrace">
480 <term><command>mtrace</command></term>
481 <listitem>
482 <para>Reads and interprets a memory trace file and displays a summary
483 in human-readable format</para>
484 <indexterm zone="ch-system-glibc mtrace">
485 <primary sortas="b-mtrace">mtrace</primary>
486 </indexterm>
487 </listitem>
488 </varlistentry>
489
490 <varlistentry id="nscd">
491 <term><command>nscd</command></term>
492 <listitem>
493 <para>A daemon that provides a cache for the most common name
494 service requests</para>
495 <indexterm zone="ch-system-glibc nscd">
496 <primary sortas="b-nscd">nscd</primary>
497 </indexterm>
498 </listitem>
499 </varlistentry>
500
501 <varlistentry id="nscd_nischeck">
502 <term><command>nscd_nischeck</command></term>
503 <listitem>
504 <para>Checks whether or not secure mode is necessary for NIS+
505 lookup</para>
506 <indexterm zone="ch-system-glibc nscd_nischeck">
507 <primary sortas="b-nscd_nischeck">nscd_nischeck</primary>
508 </indexterm>
509 </listitem>
510 </varlistentry>
511
512 <varlistentry id="pcprofiledump">
513 <term><command>pcprofiledump</command></term>
514 <listitem>
515 <para>Dumps information generated by PC profiling</para>
516 <indexterm zone="ch-system-glibc pcprofiledump">
517 <primary sortas="b-pcprofiledump">pcprofiledump</primary>
518 </indexterm>
519 <beginpage/>
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.