source: chapter06/glibc.xml@ e4ce4ea

6.0
Last change on this file since e4ce4ea was 69993f4, checked in by Gerard Beekmans <gerard@…>, 20 years ago

Second round of edits for final release

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

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