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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 917371f was 39139e4, checked in by Jim Gifford <clfs@…>, 19 years ago

r2948@server (orig r1405): chris | 2006-04-18 07:39:00 -0700
Minor text/grammar updates.

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