source: chapter06/glibc.xml@ 4e801466

7.9-systemd 7.9-systemd-rc1 7.9-systemd-rc2 systemd
Last change on this file since 4e801466 was 4e801466, checked in by DJ Lucas <dj@…>, 6 years ago

Fix missed nscd instructions.

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

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