source: chapter06/glibc.xml@ 6bd032e

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.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 6bd032e was c226182, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Ported updates from 6.2 branch.
Small tags fixes.

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

  • Property mode set to 100644
File size: 32.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-glibc" role="wrap">
9 <?dbhtml filename="glibc.html"?>
10
11 <title>Glibc-&glibc-version;</title>
12
13 <indexterm zone="ch-system-glibc">
14 <primary sortas="a-Glibc">Glibc</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The Glibc package contains the main C library. This library provides
21 the basic routines for allocating memory, searching directories, opening and
22 closing files, reading and writing files, string handling, pattern matching,
23 arithmetic, and so on.</para>
24
25 <segmentedlist>
26 <segtitle>&buildtime;</segtitle>
27 <segtitle>&diskspace;</segtitle>
28
29 <seglistitem>
30 <seg>&glibc-ch6-sbu;</seg>
31 <seg>&glibc-ch6-du;</seg>
32 </seglistitem>
33 </segmentedlist>
34
35 </sect2>
36
37 <sect2 role="installation">
38 <title>Installation of Glibc</title>
39
40 <note>
41 <para>Some packages outside of LFS suggest installing GNU libiconv in
42 order to translate data from one encoding to another. The project's
43 home page (<ulink url="http://www.gnu.org/software/libiconv/"/>) says
44 <quote>This library provides an <function>iconv()</function>
45 implementation, for use on systems which don't have one, or whose
46 implementation cannot convert from/to Unicode.</quote> Glibc provides
47 an <function>iconv()</function> implementation and can convert from/to
48 Unicode, therefore libiconv is not required on an LFS system.</para>
49 </note>
50
51 <para>The Glibc build system is self-contained and will install
52 perfectly, even though the compiler specs file and linker are still
53 pointing at <filename class="directory">/tools</filename>. The specs
54 and linker cannot be adjusted before the Glibc install because the
55 Glibc autoconf tests would give false results and defeat the goal
56 of achieving a clean build.</para>
57
58 <para>The glibc-libidn tarball adds support for internationalized domain
59 names (IDN) to Glibc. Many programs that support IDN require the full
60 <filename class="libraryfile">libidn</filename> library, not this add-on (see
61 <ulink url="&blfs-root;view/svn/general/libidn.html"/>).
62 Unpack the tarball from within the Glibc source directory:</para>
63
64<screen><userinput>tar -xf ../glibc-libidn-&glibc-version;.tar.bz2</userinput></screen>
65
66 <para>Apply the following patch to fix build errors in packages that include
67 <filename class="headerfile">linux/types.h</filename> after <filename
68 class="headerfile">sys/kd.h</filename>:</para>
69
70<screen><userinput>patch -Np1 -i ../&glibc-linux_types-patch;</userinput></screen>
71
72 <para>Add a header to define syscall functions for the inotify feature
73 available in newer Linux kernels:</para>
74
75<screen><userinput>patch -Np1 -i ../&glibc-inotify-patch;</userinput></screen>
76
77 <para>In the vi_VN.TCVN locale, <command>bash</command> enters an infinite loop
78 at startup. It is unknown whether this is a <command>bash</command> bug or a
79 Glibc problem. Disable installation of this locale in order to avoid the
80 problem:</para>
81
82<screen><userinput>sed -i '/vi_VN.TCVN/d' localedata/SUPPORTED</userinput></screen>
83
84 <para>When running <command>make install</command>, a script called
85 <filename>test-installation.pl</filename> performs a small sanity test on
86 our newly installed Glibc. However, because our toolchain still points to
87 the <filename class="directory">/tools</filename> directory, the sanity
88 test would be carried out against the wrong Glibc. We can force the script
89 to check the Glibc we have just installed with the following:</para>
90
91<screen><userinput>sed -i \
92's|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=/lib/ld-linux.so.2 -o|' \
93 scripts/test-installation.pl</userinput></screen>
94
95 <para>The Glibc documentation recommends building Glibc outside of the source
96 directory in a dedicated build directory:</para>
97
98<screen><userinput>mkdir -v ../glibc-build
99cd ../glibc-build</userinput></screen>
100
101 <para>Prepare Glibc for compilation:</para>
102
103<screen><userinput>../glibc-&glibc-version;/configure --prefix=/usr \
104 --disable-profile --enable-add-ons \
105 --enable-kernel=2.6.0 --libexecdir=/usr/lib/glibc</userinput></screen>
106
107 <variablelist>
108 <title>The meaning of the new configure options:</title>
109
110 <varlistentry>
111 <term><parameter>--libexecdir=/usr/lib/glibc</parameter></term>
112 <listitem>
113 <para>This changes the location of the <command>pt_chown</command>
114 program from its default of <filename
115 class="directory">/usr/libexec</filename> to <filename
116 class="directory">/usr/lib/glibc</filename>.</para>
117 </listitem>
118 </varlistentry>
119
120 </variablelist>
121
122 <para>Compile the package:</para>
123
124<screen><userinput>make</userinput></screen>
125
126 <important>
127 <para>In this section, the test suite for Glibc is considered critical.
128 Do not skip it under any circumstance.</para>
129 </important>
130
131 <para>Test the results:</para>
132
133<screen><userinput>make -k check 2&gt;&amp;1 | tee glibc-check-log
134grep Error glibc-check-log</userinput></screen>
135
136 <para>You will probably see an expected (ignored) failure in the
137 <emphasis>posix/annexc</emphasis> test. In addition the Glibc test suite
138 is somewhat dependent on the host system. This is a list of the most
139 common issues:</para>
140
141 <itemizedlist>
142 <listitem>
143 <para>The <emphasis>nptl/tst-clock2</emphasis> and
144 <emphasis>tst-attr3</emphasis> tests sometimes
145 fail. The reason is not completely understood, but indications
146 are that a heavy system load can trigger these failures.</para>
147 </listitem>
148 <listitem>
149 <para>The math tests sometimes fail when running on
150 systems where the CPU is not a relatively new genuine Intel or
151 authentic AMD processor.</para>
152 </listitem>
153 <listitem>
154 <para>If you have mounted the LFS partition with the
155 <parameter>noatime</parameter> option, the <emphasis>atime</emphasis>
156 test will fail. As mentioned in <xref linkend="space-mounting"/>, do not
157 use the <parameter>noatime</parameter> option while building LFS.</para>
158 </listitem>
159 <listitem>
160 <para>When running on older and slower hardware or on systems under
161 load, some tests can fail because of test timeouts being exceeded.</para>
162 </listitem>
163 </itemizedlist>
164
165 <para>Though it is a harmless message, the install stage of Glibc will
166 complain about the absence of <filename>/etc/ld.so.conf</filename>.
167 Prevent this warning with:</para>
168
169<screen><userinput>touch /etc/ld.so.conf</userinput></screen>
170
171 <para>Install the package:</para>
172
173<screen><userinput>make install</userinput></screen>
174
175 <para>Install the inotify header to the system header location:</para>
176
177<screen><userinput>cp -v ../glibc-&glibc-version;/sysdeps/unix/sysv/linux/inotify.h \
178 /usr/include/sys</userinput></screen>
179
180 <para>The locales that can make the system respond in a different language
181 were not installed by the above command. None of the locales are required,
182 but if some of them are missing, testsuites of the future packages would
183 skip important testcases.</para>
184
185 <para>Individual locales can be installed using the
186 <command>localedef</command> program. E.g., the first
187 <command>localedef</command> command below combines the
188 <filename>/usr/share/i18n/locales/de_DE</filename>
189 charset-independent locale definition with the
190 <filename>/usr/share/i18n/charmaps/ISO-8859-1.gz</filename>
191 charmap definition and appends the result to the
192 <filename>/usr/lib/locale/locale-archive</filename> file.
193 The following instructions will install the minimum set of
194 locales necessary for the optimal coverage of tests:</para>
195
196<screen role="nodump"><userinput>mkdir -pv /usr/lib/locale
197localedef -i de_DE -f ISO-8859-1 de_DE
198localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro
199localedef -i en_HK -f ISO-8859-1 en_HK
200localedef -i en_PH -f ISO-8859-1 en_PH
201localedef -i en_US -f ISO-8859-1 en_US
202localedef -i en_US -f UTF-8 en_US.UTF-8
203localedef -i es_MX -f ISO-8859-1 es_MX
204localedef -i fa_IR -f UTF-8 fa_IR
205localedef -i fr_FR -f ISO-8859-1 fr_FR
206localedef -i fr_FR@euro -f ISO-8859-15 fr_FR@euro
207localedef -i fr_FR -f UTF-8 fr_FR.UTF-8
208localedef -i it_IT -f ISO-8859-1 it_IT
209localedef -i ja_JP -f EUC-JP ja_JP</userinput></screen>
210
211 <para>In addition, install the locale for your own country, language and
212 character set.</para>
213
214 <para>Alternatively, install all locales listed in the
215 <filename>glibc-&glibc-version;/localedata/SUPPORTED</filename> file
216 (it includes every locale listed above and many more) at once with the
217 following time-consuming command:</para>
218
219<screen><userinput>make localedata/install-locales</userinput></screen>
220
221 <para>Then use the <command>localedef</command> command to create and
222 install locales not listed in the
223 <filename>glibc-&glibc-version;/localedata/SUPPORTED</filename> file
224 in the unlikely case if you need them.</para>
225 <!-- The Live CD patches the localedata/SUPPORTED file instead of
226 running localedef, the results are equivalent -->
227
228 </sect2>
229
230 <sect2 id="conf-glibc" role="configuration">
231 <title>Configuring Glibc</title>
232
233 <indexterm zone="conf-glibc">
234 <primary sortas="e-/etc/nsswitch.conf">/etc/nsswitch.conf</primary>
235 </indexterm>
236
237 <indexterm zone="conf-glibc">
238 <primary sortas="e-/etc/localtime">/etc/localtime</primary>
239 </indexterm>
240
241 <para>The <filename>/etc/nsswitch.conf</filename> file needs to be created
242 because, although Glibc provides defaults when this file is missing or corrupt,
243 the Glibc defaults do not work well in a networked environment. The time zone
244 also needs to be configured.</para>
245
246 <para>Create a new file <filename>/etc/nsswitch.conf</filename> by running the
247 following:</para>
248
249<screen><userinput>cat &gt; /etc/nsswitch.conf &lt;&lt; "EOF"
250<literal># Begin /etc/nsswitch.conf
251
252passwd: files
253group: files
254shadow: files
255
256hosts: files dns
257networks: files
258
259protocols: files
260services: files
261ethers: files
262rpc: files
263
264# End /etc/nsswitch.conf</literal>
265EOF</userinput></screen>
266
267 <para>One way to determine the local time zone, run the following
268 script:</para>
269
270<screen role="nodump"><userinput>tzselect</userinput></screen>
271
272 <para>After answering a few questions about the location, the script will
273 output the name of the time zone (e.g.,
274 <emphasis>America/Edmonton</emphasis>). There are also some other possible
275 timezones listed in <filename
276 class='directory'>/usr/share/zoneinfo</filename> such as
277 <emphasis>Canada/Eastern</emphasis> or <emphasis>EST5EDT</emphasis> that
278 are not identified by the script but can be used.</para>
279
280 <para>Then create the <filename>/etc/localtime</filename> file by
281 running:</para>
282
283<screen><userinput>cp -v --remove-destination /usr/share/zoneinfo/<replaceable>&lt;xxx&gt;</replaceable> \
284 /etc/localtime</userinput></screen>
285
286 <para>Replace <replaceable>&lt;xxx&gt;</replaceable> with the name of the
287 time zone selected (e.g., Canada/Eastern).</para>
288
289 <variablelist>
290 <title>The meaning of the cp option:</title>
291
292 <varlistentry>
293 <term><parameter>--remove-destination</parameter></term>
294 <listitem>
295 <para>This is needed to force removal of the already existing symbolic
296 link. The reason for copying the file instead of using a symlink is to
297 cover the situation where <filename class="directory">/usr</filename>
298 is on a separate partition. This could be important when booted into
299 single user mode.</para>
300 </listitem>
301 </varlistentry>
302
303 </variablelist>
304
305 </sect2>
306
307 <sect2 id="conf-ld" role="configuration">
308 <title>Configuring the Dynamic Loader</title>
309
310 <indexterm zone="conf-ld">
311 <primary sortas="e-/etc/ld.so.conf">/etc/ld.so.conf</primary>
312 </indexterm>
313
314 <para>By default, the dynamic loader (<filename
315 class="libraryfile">/lib/ld-linux.so.2</filename>) searches through
316 <filename class="directory">/lib</filename> and <filename
317 class="directory">/usr/lib</filename> for dynamic libraries that are
318 needed by programs as they are run. However, if there are libraries in
319 directories other than <filename class="directory">/lib</filename> and
320 <filename class="directory">/usr/lib</filename>, these need to be added
321 to the <filename>/etc/ld.so.conf</filename> file in order for the
322 dynamic loader to find them. Two directories that are commonly known
323 to contain additional libraries are <filename
324 class="directory">/usr/local/lib</filename> and <filename
325 class="directory">/opt/lib</filename>, so add those directories to the
326 dynamic loader's search path.</para>
327
328 <para>Create a new file <filename>/etc/ld.so.conf</filename> by running the
329 following:</para>
330
331<screen><userinput>cat &gt; /etc/ld.so.conf &lt;&lt; "EOF"
332<literal># Begin /etc/ld.so.conf
333
334/usr/local/lib
335/opt/lib
336
337# End /etc/ld.so.conf</literal>
338EOF</userinput></screen>
339
340 </sect2>
341
342 <sect2 id="contents-glibc" role="content">
343 <title>Contents of Glibc</title>
344
345 <segmentedlist>
346 <segtitle>Installed programs</segtitle>
347 <segtitle>Installed libraries</segtitle>
348
349 <seglistitem>
350 <seg>catchsegv, gencat, getconf, getent, iconv, iconvconfig, ldconfig,
351 ldd, lddlibc4, locale, localedef, mtrace, nscd, nscd_nischeck,
352 pcprofiledump, pt_chown, rpcgen, rpcinfo, sln, sprof, tzselect, xtrace,
353 zdump, and zic</seg>
354 <seg>ld.so, libBrokenLocale.{a,so}, libSegFault.so, libanl.{a,so},
355 libbsd-compat.a, libc.{a,so}, libcidn.so, libcrypt.{a,so}, libdl.{a,so},
356 libg.a, libieee.a, libm.{a,so}, libmcheck.a, libmemusage.so, libnsl.a,
357 libnss_compat.so, libnss_dns.so, libnss_files.so, libnss_hesiod.so,
358 libnss_nis.so, libnss_nisplus.so, libpcprofile.so, libpthread.{a,so},
359 libresolv.{a,so}, librpcsvc.a, librt.{a,so}, libthread_db.so, and
360 libutil.{a,so}</seg>
361 </seglistitem>
362 </segmentedlist>
363
364 <variablelist>
365 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
366 <?dbfo list-presentation="list"?>
367 <?dbhtml list-presentation="table"?>
368
369 <varlistentry id="catchsegv">
370 <term><command>catchsegv</command></term>
371 <listitem>
372 <para>Can be used to create a stack trace when a program
373 terminates with a segmentation fault</para>
374 <indexterm zone="ch-system-glibc catchsegv">
375 <primary sortas="b-catchsegv">catchsegv</primary>
376 </indexterm>
377 </listitem>
378 </varlistentry>
379
380 <varlistentry id="gencat">
381 <term><command>gencat</command></term>
382 <listitem>
383 <para>Generates message catalogues</para>
384 <indexterm zone="ch-system-glibc gencat">
385 <primary sortas="b-gencat">gencat</primary>
386 </indexterm>
387 </listitem>
388 </varlistentry>
389
390 <varlistentry id="getconf">
391 <term><command>getconf</command></term>
392 <listitem>
393 <para>Displays the system configuration values for file system
394 specific variables</para>
395 <indexterm zone="ch-system-glibc getconf">
396 <primary sortas="b-getconf">getconf</primary>
397 </indexterm>
398 </listitem>
399 </varlistentry>
400
401 <varlistentry id="getent">
402 <term><command>getent</command></term>
403 <listitem>
404 <para>Gets entries from an administrative database</para>
405 <indexterm zone="ch-system-glibc getent">
406 <primary sortas="b-getent">getent</primary>
407 </indexterm>
408 </listitem>
409 </varlistentry>
410
411 <varlistentry id="iconv">
412 <term><command>iconv</command></term>
413 <listitem>
414 <para>Performs character set conversion</para>
415 <indexterm zone="ch-system-glibc iconv">
416 <primary sortas="b-iconv">iconv</primary>
417 </indexterm>
418 </listitem>
419 </varlistentry>
420
421 <varlistentry id="iconvconfig">
422 <term><command>iconvconfig</command></term>
423 <listitem>
424 <para>Creates fastloading <command>iconv</command> module configuration
425 files</para>
426 <indexterm zone="ch-system-glibc iconvconfig">
427 <primary sortas="b-iconvconfig">iconvconfig</primary>
428 </indexterm>
429 </listitem>
430 </varlistentry>
431
432 <varlistentry id="ldconfig">
433 <term><command>ldconfig</command></term>
434 <listitem>
435 <para>Configures the dynamic linker runtime bindings</para>
436 <indexterm zone="ch-system-glibc ldconfig">
437 <primary sortas="b-ldconfig">ldconfig</primary>
438 </indexterm>
439 </listitem>
440 </varlistentry>
441
442 <varlistentry id="ldd">
443 <term><command>ldd</command></term>
444 <listitem>
445 <para>Reports which shared libraries are required
446 by each given program or shared library</para>
447 <indexterm zone="ch-system-glibc ldd">
448 <primary sortas="b-ldd">ldd</primary>
449 </indexterm>
450 </listitem>
451 </varlistentry>
452
453 <varlistentry id="lddlibc4">
454 <term><command>lddlibc4</command></term>
455 <listitem>
456 <para>Assists <command>ldd</command> with object files</para>
457 <indexterm zone="ch-system-glibc lddlibc4">
458 <primary sortas="b-lddlibc4">lddlibc4</primary>
459 </indexterm>
460 </listitem>
461 </varlistentry>
462
463 <varlistentry id="locale">
464 <term><command>locale</command></term>
465 <listitem>
466 <para>Prints various information about the current locale</para>
467 <indexterm zone="ch-system-glibc locale">
468 <primary sortas="b-locale">locale</primary>
469 </indexterm>
470 </listitem>
471 </varlistentry>
472
473 <varlistentry id="localedef">
474 <term><command>localedef</command></term>
475 <listitem>
476 <para>Compiles locale specifications</para>
477 <indexterm zone="ch-system-glibc localedef">
478 <primary sortas="b-localedef">localedef</primary>
479 </indexterm>
480 </listitem>
481 </varlistentry>
482
483 <varlistentry id="mtrace">
484 <term><command>mtrace</command></term>
485 <listitem>
486 <para>Reads and interprets a memory trace file and displays a summary
487 in human-readable format</para>
488 <indexterm zone="ch-system-glibc mtrace">
489 <primary sortas="b-mtrace">mtrace</primary>
490 </indexterm>
491 </listitem>
492 </varlistentry>
493
494 <varlistentry id="nscd">
495 <term><command>nscd</command></term>
496 <listitem>
497 <para>A daemon that provides a cache for the most common name
498 service requests</para>
499 <indexterm zone="ch-system-glibc nscd">
500 <primary sortas="b-nscd">nscd</primary>
501 </indexterm>
502 </listitem>
503 </varlistentry>
504
505 <varlistentry id="nscd_nischeck">
506 <term><command>nscd_nischeck</command></term>
507 <listitem>
508 <para>Checks whether or not secure mode is necessary for NIS+
509 lookup</para>
510 <indexterm zone="ch-system-glibc nscd_nischeck">
511 <primary sortas="b-nscd_nischeck">nscd_nischeck</primary>
512 </indexterm>
513 </listitem>
514 </varlistentry>
515
516 <varlistentry id="pcprofiledump">
517 <term><command>pcprofiledump</command></term>
518 <listitem>
519 <para>Dumps information generated by PC profiling</para>
520 <indexterm zone="ch-system-glibc pcprofiledump">
521 <primary sortas="b-pcprofiledump">pcprofiledump</primary>
522 </indexterm>
523 </listitem>
524 </varlistentry>
525
526 <varlistentry id="pt_chown">
527 <term><command>pt_chown</command></term>
528 <listitem>
529 <para>A helper program for <command>grantpt</command> to set the owner,
530 group and access permissions of a slave pseudo terminal</para>
531 <indexterm zone="ch-system-glibc pt_chown">
532 <primary sortas="b-pt_chown">pt_chown</primary>
533 </indexterm>
534 </listitem>
535 </varlistentry>
536
537 <varlistentry id="rpcgen">
538 <term><command>rpcgen</command></term>
539 <listitem>
540 <para>Generates C code to implement the Remote Procecure Call (RPC)
541 protocol</para>
542 <indexterm zone="ch-system-glibc rpcgen">
543 <primary sortas="b-rpcgen">rpcgen</primary>
544 </indexterm>
545 </listitem>
546 </varlistentry>
547
548 <varlistentry id="rpcinfo">
549 <term><command>rpcinfo</command></term>
550 <listitem>
551 <para>Makes an RPC call to an RPC server</para>
552 <indexterm zone="ch-system-glibc rpcinfo">
553 <primary sortas="b-rpcinfo">rpcinfo</primary>
554 </indexterm>
555 </listitem>
556 </varlistentry>
557
558 <varlistentry id="sln">
559 <term><command>sln</command></term>
560 <listitem>
561 <para>A statically linked <command>ln</command> program</para>
562 <indexterm zone="ch-system-glibc sln">
563 <primary sortas="b-sln">sln</primary>
564 </indexterm>
565 </listitem>
566 </varlistentry>
567
568 <varlistentry id="sprof">
569 <term><command>sprof</command></term>
570 <listitem>
571 <para>Reads and displays shared object profiling data</para>
572 <indexterm zone="ch-system-glibc sprof">
573 <primary sortas="b-sprof">sprof</primary>
574 </indexterm>
575 </listitem>
576 </varlistentry>
577
578 <varlistentry id="tzselect">
579 <term><command>tzselect</command></term>
580 <listitem>
581 <para>Asks the user about the location of the system and reports
582 the corresponding time zone description</para>
583 <indexterm zone="ch-system-glibc tzselect">
584 <primary sortas="b-tzselect">tzselect</primary>
585 </indexterm>
586 </listitem>
587 </varlistentry>
588
589 <varlistentry id="xtrace">
590 <term><command>xtrace</command></term>
591 <listitem>
592 <para>Traces the execution of a program by printing the currently
593 executed function</para>
594 <indexterm zone="ch-system-glibc xtrace">
595 <primary sortas="b-xtrace">xtrace</primary>
596 </indexterm>
597 </listitem>
598 </varlistentry>
599
600 <varlistentry id="zdump">
601 <term><command>zdump</command></term>
602 <listitem>
603 <para>The time zone dumper</para>
604 <indexterm zone="ch-system-glibc zdump">
605 <primary sortas="b-zdump">zdump</primary>
606 </indexterm>
607 </listitem>
608 </varlistentry>
609
610 <varlistentry id="zic">
611 <term><command>zic</command></term>
612 <listitem>
613 <para>The time zone compiler</para>
614 <indexterm zone="ch-system-glibc zic">
615 <primary sortas="b-zic">zic</primary>
616 </indexterm>
617 </listitem>
618 </varlistentry>
619
620 <varlistentry id="ld.so">
621 <term><filename class="libraryfile">ld.so</filename></term>
622 <listitem>
623 <para>The helper program for shared library executables</para>
624 <indexterm zone="ch-system-glibc ld.so">
625 <primary sortas="c-ld.so">ld.so</primary>
626 </indexterm>
627 </listitem>
628 </varlistentry>
629
630 <varlistentry id="libBrokenLocale">
631 <term><filename class="libraryfile">libBrokenLocale</filename></term>
632 <listitem>
633 <para>Used internally by Glibc as a gross hack to get broken programs
634 (e.g., some Motif applications) running. See comments in
635 <filename>glibc-&glibc-version;/locale/broken_cur_max.c</filename>
636 for more information</para>
637 <indexterm zone="ch-system-glibc libBrokenLocale">
638 <primary sortas="c-libBrokenLocale">libBrokenLocale</primary>
639 </indexterm>
640 </listitem>
641 </varlistentry>
642
643 <varlistentry id="libSegFault">
644 <term><filename class="libraryfile">libSegFault</filename></term>
645 <listitem>
646 <para>The segmentation fault signal handler, used by
647 <command>catchsegv</command></para>
648 <indexterm zone="ch-system-glibc libSegFault">
649 <primary sortas="c-libSegFault">libSegFault</primary>
650 </indexterm>
651 </listitem>
652 </varlistentry>
653
654 <varlistentry id="libanl">
655 <term><filename class="libraryfile">libanl</filename></term>
656 <listitem>
657 <para>An asynchronous name lookup library</para>
658 <indexterm zone="ch-system-glibc libanl">
659 <primary sortas="c-libanl">libanl</primary>
660 </indexterm>
661 </listitem>
662 </varlistentry>
663
664 <varlistentry id="libbsd-compat">
665 <term><filename class="libraryfile">libbsd-compat</filename></term>
666 <listitem>
667 <para>Provides the portability needed in order to run certain Berkey
668 Software Distribution (BSD) programs under Linux</para>
669 <indexterm zone="ch-system-glibc libbsd-compat">
670 <primary sortas="c-libbsd-compat">libbsd-compat</primary>
671 </indexterm>
672 </listitem>
673 </varlistentry>
674
675 <varlistentry id="libc">
676 <term><filename class="libraryfile">libc</filename></term>
677 <listitem>
678 <para>The main C library</para>
679 <indexterm zone="ch-system-glibc libc">
680 <primary sortas="c-libc">libc</primary>
681 </indexterm>
682 </listitem>
683 </varlistentry>
684
685 <varlistentry id="libcidn">
686 <term><filename class="libraryfile">libcidn</filename></term>
687 <listitem>
688 <para>Used internally by Glibc for handling internationalized domain
689 names in the <function>getaddrinfo()</function> function</para>
690 <indexterm zone="ch-system-glibc libcrypt">
691 <primary sortas="c-libcrypt">libcrypt</primary>
692 </indexterm>
693 </listitem>
694 </varlistentry>
695
696 <varlistentry id="libcrypt">
697 <term><filename class="libraryfile">libcrypt</filename></term>
698 <listitem>
699 <para>The cryptography library</para>
700 <indexterm zone="ch-system-glibc libcrypt">
701 <primary sortas="c-libcrypt">libcrypt</primary>
702 </indexterm>
703 </listitem>
704 </varlistentry>
705
706 <varlistentry id="libdl">
707 <term><filename class="libraryfile">libdl</filename></term>
708 <listitem>
709 <para>The dynamic linking interface library</para>
710 <indexterm zone="ch-system-glibc libdl">
711 <primary sortas="c-libdl">libdl</primary>
712 </indexterm>
713 </listitem>
714 </varlistentry>
715
716 <varlistentry id="libg">
717 <term><filename class="libraryfile">libg</filename></term>
718 <listitem>
719 <para>Dummy library containing no functions. Previously was a runtime
720 library for <command>g++</command></para>
721 <indexterm zone="ch-system-glibc libg">
722 <primary sortas="c-libg">libg</primary>
723 </indexterm>
724 </listitem>
725 </varlistentry>
726
727 <varlistentry id="libieee">
728 <term><filename class="libraryfile">libieee</filename></term>
729 <listitem>
730 <para>Linking in this module forces error handling rules for math
731 functions as defined by the Institute of Electrical and Electronic
732 Engineers (IEEE). The default is POSIX.1 error handling</para>
733 <indexterm zone="ch-system-glibc libieee">
734 <primary sortas="c-libieee">libieee</primary>
735 </indexterm>
736 </listitem>
737 </varlistentry>
738
739 <varlistentry id="libm">
740 <term><filename class="libraryfile">libm</filename></term>
741 <listitem>
742 <para>The mathematical library</para>
743 <indexterm zone="ch-system-glibc libm">
744 <primary sortas="c-libm">libm</primary>
745 </indexterm>
746 </listitem>
747 </varlistentry>
748
749 <varlistentry id="libmcheck">
750 <term><filename class="libraryfile">libmcheck</filename></term>
751 <listitem>
752 <para>Turns on memory allocation checking when linked to</para>
753 <indexterm zone="ch-system-glibc libmcheck">
754 <primary sortas="c-libmcheck">libmcheck</primary>
755 </indexterm>
756 </listitem>
757 </varlistentry>
758
759 <varlistentry id="libmemusage">
760 <term><filename class="libraryfile">libmemusage</filename></term>
761 <listitem>
762 <para>Used by <command>memusage</command> to help collect
763 information about the memory usage of a program</para>
764 <indexterm zone="ch-system-glibc libmemusage">
765 <primary sortas="c-libmemusage">libmemusage</primary>
766 </indexterm>
767 </listitem>
768 </varlistentry>
769
770 <varlistentry id="libnsl">
771 <term><filename class="libraryfile">libnsl</filename></term>
772 <listitem>
773 <para>The network services library</para>
774 <indexterm zone="ch-system-glibc libnsl">
775 <primary sortas="c-libnsl">libnsl</primary>
776 </indexterm>
777 </listitem>
778 </varlistentry>
779
780 <varlistentry id="libnss">
781 <term><filename class="libraryfile">libnss</filename></term>
782 <listitem>
783 <para>The Name Service Switch libraries, containing functions for
784 resolving host names, user names, group names, aliases, services,
785 protocols, etc.</para>
786 <indexterm zone="ch-system-glibc libnss">
787 <primary sortas="c-libnss">libnss</primary>
788 </indexterm>
789 </listitem>
790 </varlistentry>
791
792 <varlistentry id="libpcprofile">
793 <term><filename class="libraryfile">libpcprofile</filename></term>
794 <listitem>
795 <para>Contains profiling functions used to track the amount of CPU
796 time spent in specific source code lines</para>
797 <indexterm zone="ch-system-glibc libpcprofile">
798 <primary sortas="c-libpcprofile">libpcprofile</primary>
799 </indexterm>
800 </listitem>
801 </varlistentry>
802
803 <varlistentry id="libpthread">
804 <term><filename class="libraryfile">libpthread</filename></term>
805 <listitem>
806 <para>The POSIX threads library</para>
807 <indexterm zone="ch-system-glibc libpthread">
808 <primary sortas="c-libpthread">libpthread</primary>
809 </indexterm>
810 </listitem>
811 </varlistentry>
812
813 <varlistentry id="libresolv">
814 <term><filename class="libraryfile">libresolv</filename></term>
815 <listitem>
816 <para>Contains functions for creating, sending, and interpreting
817 packets to the Internet domain name servers</para>
818 <indexterm zone="ch-system-glibc libresolv">
819 <primary sortas="c-libresolv">libresolv</primary>
820 </indexterm>
821 </listitem>
822 </varlistentry>
823
824 <varlistentry id="librpcsvc">
825 <term><filename class="libraryfile">librpcsvc</filename></term>
826 <listitem>
827 <para>Contains functions providing miscellaneous RPC services</para>
828 <indexterm zone="ch-system-glibc librpcsvc">
829 <primary sortas="c-librpcsvc">librpcsvc</primary>
830 </indexterm>
831 </listitem>
832 </varlistentry>
833
834 <varlistentry id="librt">
835 <term><filename class="libraryfile">librt</filename></term>
836 <listitem>
837 <para>Contains functions providing most of the interfaces specified
838 by the POSIX.1b Realtime Extension</para>
839 <indexterm zone="ch-system-glibc librt">
840 <primary sortas="c-librt">librt</primary>
841 </indexterm>
842 </listitem>
843 </varlistentry>
844
845 <varlistentry id="libthread_db">
846 <term><filename class="libraryfile">libthread_db</filename></term>
847 <listitem>
848 <para>Contains functions useful for building debuggers for
849 multi-threaded programs</para>
850 <indexterm zone="ch-system-glibc libthread_db">
851 <primary sortas="c-libthread_db">libthread_db</primary>
852 </indexterm>
853 </listitem>
854 </varlistentry>
855
856 <varlistentry id="libutil">
857 <term><filename class="libraryfile">libutil</filename></term>
858 <listitem>
859 <para>Contains code for <quote>standard</quote> functions used in
860 many different Unix utilities</para>
861 <indexterm zone="ch-system-glibc libutil">
862 <primary sortas="c-libutil">libutil</primary>
863 </indexterm>
864 </listitem>
865 </varlistentry>
866
867 </variablelist>
868
869 </sect2>
870
871</sect1>
Note: See TracBrowser for help on using the repository browser.