source: BOOK/final-system/common/glibc.xml@ f99b745

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since f99b745 was 8253243, checked in by Chris Staub <chris@…>, 18 years ago

Updated date

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