source: chapter06/glibc.xml@ 5592479

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 12.2 12.2-rc1 6.0 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/loongarch-12.2 xry111/mips64el xry111/multilib xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 5592479 was df8334f, checked in by Manuel Canales Esparcia <manuel@…>, 20 years ago

HEAD: Retaged the command explanations in Chapter 6.

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

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