source: chapter06/glibc.xml@ 1dc34de7

6.0
Last change on this file since 1dc34de7 was ef13657, checked in by Gerard Beekmans <gerard@…>, 20 years ago

Completed global edits for upcoming 6.0 release

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

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