source: chapter06/glibc.xml@ bab5592

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.1 6.1.1 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 bab5592 was bab5592, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Testing a new way to render the Short Description sections.

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

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