source: chapter06/glibc.xml@ f5e821c

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 7.8 7.9 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/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since f5e821c was f5e821c, checked in by Bruce Dubbs <bdubbs@…>, 9 years ago

Update to procps-ng-3.3.11.
Update to man-pages-4.02.
Update to ncurses-6.0.
Update to glibc-2.22.
Update to linux-4.1.5.

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

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