source: chapter06/glibc.xml@ cf629b7d

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.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since cf629b7d was c3bb6d8, checked in by Archaic <archaic@…>, 19 years ago

Added patch to allow glibc testsuite to pass with 2.6.11.x.

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

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