source: chapter06/glibc.xml@ 582bf50

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 582bf50 was c6cb3aa, checked in by Manuel Canales Esparcia <manuel@…>, 20 years ago

HEAD: Retagged the Contents of ... sections.

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

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