source: BOOK/final-system/common/eglibc.xml@ 7bb5816

clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 7bb5816 was 82b753e0, checked in by Chris Staub <chris@…>, 12 years ago

EGLIBC no longer needs --enable-add-ons

  • Property mode set to 100644
File size: 33.2 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[3f8be484]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
[093b0e8]8<sect1 id="ch-system-eglibc" role="wrap">
9 <?dbhtml filename="eglibc.html"?>
[3f8be484]10
[093b0e8]11 <title>EGLIBC-&eglibc-version;</title>
[3f8be484]12
[093b0e8]13 <indexterm zone="ch-system-eglibc">
14 <primary sortas="a-EGLIBC">EGLIBC</primary>
[3f8be484]15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
[093b0e8]20 <para>The EGLIBC package contains the main C library. This library provides
[3f8be484]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 </sect2>
26
27 <sect2 role="installation">
[093b0e8]28 <title>Installation of EGLIBC</title>
[3f8be484]29
30 <note os="z">
[a1fb12f]31 <para>Some packages outside of CLFS suggest installing GNU libiconv in
[3f8be484]32 order to translate data from one encoding to another. The project's
33 home page (<ulink url="http://www.gnu.org/software/libiconv/"/>) says
34 <quote>This library provides an <function>iconv()</function>
35 implementation, for use on systems which don't have one, or whose
[093b0e8]36 implementation cannot convert from/to Unicode.</quote> EGLIBC provides
[3f8be484]37 an <function>iconv()</function> implementation and can convert from/to
[a1fb12f]38 Unicode, therefore libiconv is not required on a CLFS system.</para>
[3f8be484]39 </note>
40
[22cd957]41 <para os="l1">At the end of the installation, the build system will run
42 a sanity test to make sure everything installed properly. This script will
43 attempt to test for a library that is only used in the test suite and is
44 never installed. Prevent the script from testing for this library with the
45 following command:</para>
[d8f87e8]46
[22cd957]47<screen os="l2"><userinput>sed -i 's/\(&amp;&amp; $name ne\) "db1"/ &amp; \1 "nss_test1"/' scripts/test-installation.pl</userinput></screen>
48
49 <para os="l3">This same script performs its tests by attempting to compile
50 test programs against certain libraries. However it does not specify the
51 ld.so, and our toolchain is still configured to use the one in /tools. The
52 following set of commands will force the script to use the complete path
53 of the new ld.so that was just installed:</para>
54
55<screen os="l4"><userinput>LINKER=$(readelf -l /tools/bin/bash | sed -n 's@.*interpret.*/tools\(.*\)]$@\1@p')
[d8f87e8]56sed -i "s|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=${LINKER} -o|" \
57 scripts/test-installation.pl
58unset LINKER</userinput></screen>
59
[57b3f19]60 <para os="p3">The following patch fixes an issue that can cause
61 ALSA to crash:</para>
62
63<screen os="p4"><userinput>patch -Np1 -i ../&eglibc-fixes-patch;</userinput></screen>
64
[093b0e8]65 <para os="b">The EGLIBC build system is self-contained and will install
[3f8be484]66 perfectly, even though the compiler specs file and linker are still
67 pointing at <filename class="directory">/tools</filename>. The specs
[093b0e8]68 and linker cannot be adjusted before the EGLIBC install because the
69 EGLIBC Autoconf tests would give false results and defeat the goal
[3f8be484]70 of achieving a clean build.</para>
71
[093b0e8]72 <para os="e">The EGLIBC documentation recommends building EGLIBC outside of the
[3f8be484]73 source directory in a dedicated build directory:</para>
74
[093b0e8]75<screen os="f"><userinput>mkdir -v ../eglibc-build
76cd ../eglibc-build</userinput></screen>
[3f8be484]77
[093b0e8]78 <para os="g">Prepare EGLIBC for compilation:</para>
[3f8be484]79
[093b0e8]80<screen os="h"><userinput>../eglibc-&eglibc-version;/configure --prefix=/usr \
[82b753e0]81 --disable-profile --enable-kernel=2.6.32 --libexecdir=/usr/lib/eglibc</userinput></screen>
[3f8be484]82
83 <variablelist os="i">
84 <title>The meaning of the new configure option:</title>
85
86 <varlistentry>
[093b0e8]87 <term><parameter>--libexecdir=/usr/lib/eglibc</parameter></term>
[3f8be484]88 <listitem>
89 <para>This changes the location of the <command>pt_chown</command>
90 program from its default of <filename
91 class="directory">/usr/libexec</filename> to <filename
[093b0e8]92 class="directory">/usr/lib/eglibc</filename>.</para>
[3f8be484]93 </listitem>
94 </varlistentry>
95 </variablelist>
96
97 <para os="j">Compile the package:</para>
98
99<screen os="k"><userinput>make</userinput></screen>
100
101 <important os="l">
[093b0e8]102 <para>The test suite for EGLIBC is considered critical.
[3f8be484]103 Do not skip it under any circumstance.</para>
104 </important>
105
[d8f87e8]106 <para os="m">Before running the tests, copy a file from the source tree into our
107 build tree to prevent a couple of test failures, then run the tests:</para>
[3f8be484]108
109<!-- items n,o,p no longer the master, use x86_64 which has no failures -->
110
[2026a2e]111<screen os="n"><userinput>cp -v ../eglibc-&eglibc-version;/iconvdata/gconv-modules iconvdata
[0179f08]112make -k check 2&gt;&amp;1 | tee eglibc-check-log; grep Error eglibc-check-log</userinput></screen>
[3f8be484]113
[093b0e8]114 <para os="o">The EGLIBC test suite is highly dependent on certain functions of
[10b2850]115 the host system, in particular the kernel. The posix/annexc test normally fails
116 and you should see <literal>Error 1 (ignored)</literal> in the output. Apart
[093b0e8]117 from this, the EGLIBC test suite is always expected to pass. However, in certain
[10b2850]118 circumstances, some failures are unavoidable. If a test fails because of a missing
119 program (or missing symbolic link), or a segfault, you will see an error code
120 greater than 127 and the details will be in the log. More commonly, tests will
121 fail with <literal>Error 2</literal> - for these, the contents of the corresponding
122 <filename>.out</filename> file, e.g. <filename>posix/annexc.out</filename> may be
123 informative. Here is a list of the most common issues:</para>
[3f8be484]124
125 <itemizedlist os="p">
126 <listitem>
[3514708]127 <para>The <emphasis>math</emphasis> tests sometimes fail.
128 Certain optimization settings are known to be a
129 factor here.</para>
[3f8be484]130 </listitem>
131 <listitem>
[fb40919]132 <para>If you have mounted the CLFS partition with the
[3f8be484]133 <parameter>noatime</parameter> option, the <emphasis>atime</emphasis> test
134 will fail. As mentioned in <xref linkend="ch-partitioning-mounting"/>,
135 do not use the <parameter>noatime</parameter> option while building
[fb40919]136 CLFS.</para>
[3f8be484]137 </listitem>
138 <listitem>
139 <para>When running on older and slower hardware, some tests
140 can fail because of test timeouts being exceeded.</para>
141 </listitem>
142 </itemizedlist>
143
[093b0e8]144 <para os="q">Though it is a harmless message, the install stage of EGLIBC will
[3f8be484]145 complain about the absence of <filename>/etc/ld.so.conf</filename>.
146 Prevent this warning with:</para>
147
148<screen os="r"><userinput>touch /etc/ld.so.conf</userinput></screen>
149
150 <para os="s">Install the package:</para>
151
152<screen os="t"><userinput>make install</userinput></screen>
153
[f1778eba]154 <para os="ra">Install NIS and RPC related headers that are not installed by default.</para>
155
156<screen os="rb"><userinput>cp -v ../eglibc-&eglibc-version;/sunrpc/rpc/*.h /usr/include/rpc
157cp -v ../eglibc-&eglibc-version;/sunrpc/rpcsvc/*.h /usr/include/rpcsvc
158cp -v ../eglibc-&eglibc-version;/nis/rpcsvc/*.h /usr/include/rpcsvc</userinput></screen>
159
[3f8be484]160 </sect2>
161
[093b0e8]162 <sect2 id="i18n-eglibc" role="configuration">
[3f8be484]163 <title>Internationalization</title>
164
165 <para>The locales that can make the system respond in a different
[5a321cb]166 language were not installed by the above command. Install them
[3f8be484]167 with:</para>
168
169<screen><userinput>make localedata/install-locales</userinput></screen>
170
171 <para>To save time, an alternative to running the previous command (which
[643f8be]172 generates and installs every locale listed in the
[e7aadbe]173 <filename>eglibc-&eglibc-version;/localedata/SUPPORTED</filename> file) is
174 to install only those locales that are wanted and needed. This can be
175 achieved by using the <command>localedef</command> command. Information on
176 this command is located in the <filename>INSTALL</filename> file in the
177 EGLIBC source. However, there are a number of locales that are essential in
178 order for the tests of future packages to pass, in particular, the
[3f8be484]179 <emphasis>libstdc++</emphasis> tests from GCC. The following instructions,
180 instead of the <parameter>install-locales</parameter> target used above,
181 will install the minimum set of locales necessary for the tests to run
182 successfully:</para>
183
[3a3e135]184<screen role="nodump"><userinput>mkdir -pv /usr/lib/locale
[8a10f1c]185localedef -i cs_CZ -f UTF-8 cs_CZ.UTF-8
[3f8be484]186localedef -i de_DE -f ISO-8859-1 de_DE
187localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro
188localedef -i en_HK -f ISO-8859-1 en_HK
189localedef -i en_PH -f ISO-8859-1 en_PH
190localedef -i en_US -f ISO-8859-1 en_US
191localedef -i es_MX -f ISO-8859-1 es_MX
192localedef -i fa_IR -f UTF-8 fa_IR
193localedef -i fr_FR -f ISO-8859-1 fr_FR
194localedef -i fr_FR@euro -f ISO-8859-15 fr_FR@euro
195localedef -i it_IT -f ISO-8859-1 it_IT
196localedef -i ja_JP -f EUC-JP ja_JP</userinput></screen>
197
198 <para>Some locales installed by the <command>make
199 localedata/install-locales</command> command above are not properly
[e3a8717]200 supported by some applications that are in CLFS and CBLFS. Because
[3f8be484]201 of the various problems that arise due to application programmers making
[fb40919]202 assumptions that break in such locales, CLFS should not be used in locales
[3f8be484]203 that utilize multibyte character sets (including UTF-8) or right-to-left
204 writing order. Numerous unofficial and unstable patches are required to
[fb40919]205 fix these problems, and it has been decided by the CLFS developers not to
[643f8be]206 support such complex locales at this time. This applies to the ja_JP and
207 fa_IR locales as well&mdash;they have been installed only for GCC and
208 Gettext tests to pass, and the <command>watch</command> program (part of
209 the Procps package) does not work properly in them. Various attempts to
210 circumvent these restrictions are documented in internationalization-related
211 hints.</para>
[3f8be484]212
213 </sect2>
214
[093b0e8]215 <sect2 id="conf-eglibc" role="configuration">
216 <title>Configuring EGLIBC</title>
[3f8be484]217
[093b0e8]218 <indexterm zone="conf-eglibc">
[3f8be484]219 <primary sortas="e-/etc/nsswitch.conf">/etc/nsswitch.conf</primary>
220 </indexterm>
221
[093b0e8]222 <indexterm zone="conf-eglibc">
[3f8be484]223 <primary sortas="e-/etc/localtime">/etc/localtime</primary>
224 </indexterm>
225
226 <para>The <filename>/etc/nsswitch.conf</filename> file needs to be created
[093b0e8]227 because, although EGLIBC provides defaults when this file is missing or
228 corrupt, the EGLIBC defaults do not work well in a networked environment.
[3f8be484]229 The time zone also needs to be configured.</para>
230
231 <para>Create a new file <filename>/etc/nsswitch.conf</filename> by running
232 the following:</para>
233
234<screen><userinput>cat &gt; /etc/nsswitch.conf &lt;&lt; "EOF"
235<literal># Begin /etc/nsswitch.conf
236
237passwd: files
238group: files
239shadow: files
240
241hosts: files dns
242networks: files
243
244protocols: files
245services: files
246ethers: files
247rpc: files
248
249# End /etc/nsswitch.conf</literal>
250EOF</userinput></screen>
251
252 <para>To determine the local time zone, run the following script:</para>
253
[0f3854e]254<screen role="nodump"><userinput>tzselect</userinput></screen>
[3f8be484]255
256 <para>After answering a few questions about the location, the script will
257 output the name of the time zone (e.g., <emphasis>EST5EDT</emphasis> or
258 <emphasis>Canada/Eastern</emphasis>). Then create the
259 <filename>/etc/localtime</filename> file by running:</para>
260
[94e6142]261<screen><userinput>cp -v --remove-destination /usr/share/zoneinfo/<replaceable>[xxx]</replaceable> \
[3f8be484]262 /etc/localtime</userinput></screen>
263
264 <para>Replace <replaceable>[xxx]</replaceable> with the name of the time zone
265 that <command>tzselect</command> provided (e.g., Canada/Eastern).</para>
266
267 <variablelist>
268 <title>The meaning of the cp option:</title>
269
270 <varlistentry>
271 <term><parameter>--remove-destination</parameter></term>
272 <listitem>
273 <para>This is needed to force removal of the already existing symbolic
274 link. The reason for copying the file instead of using a symlink is to
275 cover the situation where <filename class="directory">/usr</filename>
276 is on a separate partition. This could be important when booted into
277 single user mode.</para>
278 </listitem>
279 </varlistentry>
280 </variablelist>
281
282 </sect2>
283
284 <sect2 id="conf-ld" role="configuration">
[0b637f1]285 <title>Configuring The Dynamic Loader</title>
[3f8be484]286
287 <indexterm zone="conf-ld">
288 <primary sortas="e-/etc/ld.so.conf">/etc/ld.so.conf</primary>
289 </indexterm>
290
[3998188]291 <para os="ld-a">By default, the dynamic loader (<filename
[3f8be484]292 class="libraryfile">/lib/ld-linux.so.2</filename>) searches through
293 <filename class="directory">/lib</filename> and <filename
294 class="directory">/usr/lib</filename> for dynamic libraries that are
295 needed by programs as they are run. However, if there are libraries in
296 directories other than <filename class="directory">/lib</filename> and
297 <filename class="directory">/usr/lib</filename>, these need to be
298 added to the <filename>/etc/ld.so.conf</filename> file in order
299 for the dynamic loader to find them. Two directories that are commonly
300 known to contain additional libraries are <filename
301 class="directory">/usr/local/lib</filename> and <filename
302 class="directory">/opt/lib</filename>, so add those directories to the
303 dynamic loader's search path.</para>
304
[3998188]305 <para os="ld-b">Create a new file <filename>/etc/ld.so.conf</filename> by running the
[3f8be484]306 following:</para>
307
[3998188]308<screen os="ld-c"><userinput>cat &gt; /etc/ld.so.conf &lt;&lt; "EOF"
[3f8be484]309<literal># Begin /etc/ld.so.conf
310
311/usr/local/lib
312/opt/lib
313
314# End /etc/ld.so.conf</literal>
315EOF</userinput></screen>
316
317 </sect2>
318
[093b0e8]319 <sect2 id="contents-eglibc" role="content">
320 <title>Contents of EGLIBC</title>
[3f8be484]321
322 <segmentedlist>
323 <segtitle>Installed programs</segtitle>
324 <segtitle>Installed libraries</segtitle>
[61ad0b7f]325 <segtitle>Installed directories</segtitle>
[3f8be484]326
327 <seglistitem>
328 <seg>catchsegv, gencat, getconf, getent, iconv, iconvconfig, ldconfig,
[2b220db9]329 ldd, lddlibc4, locale, localedef, makedb, mtrace, nscd,
330 pcprofiledump, pldd, pt_chown, rpcgen, sln, sprof, tzselect,
331 xtrace,zdump, and zic</seg>
[3f8be484]332 <seg>ld.so, libBrokenLocale.[a,so], libSegFault.so, libanl.[a,so],
[188b6b2]333 libbsd-compat.a, libc.[a,so], libc_nonshared.a, libcidn.[a,so],
334 libcrypt.[a,so], libdl.[a,so], libg.a, libieee.a, libm.[a,so],
335 libmcheck.a, libmemusage.so, libnsl.a, libnss_compat.so, libnss_dns.so,
336 libnss_files.so, libnss_hesiod.so, libnss_nis.so, libnss_nisplus.so,
337 libpcprofile.so, libpthread.[a,so], libpthread_nonshared.a,
[3f8be484]338 libresolv.[a,so], librpcsvc.a, librt.[a,so], libthread_db.so, and
339 libutil.[a,so]</seg>
[61ad0b7f]340 <seg>/usr/include/arpa, /usr/include/bits, /usr/include/gnu,
341 /usr/include/net, /usr/include/netash, /usr/include/netatalk,
342 /usr/include/netax25, /usr/include/neteconet, /usr/include/netinet,
343 /usr/include/netipx, /usr/include/netiucv, /usr/include/netpacket,
344 /usr/include/netrom, /usr/include/netrose, /usr/include/nfs,
345 /usr/include/protocols, /usr/include/rpc, /usr/include/rpcsvc,
346 /usr/include/sys, /usr/lib/gconv, /usr/lib/eglibc, /usr/lib/locale,
347 /usr/share/i18n, /usr/share/zoneinfo, /var/cache/ldconfig</seg>
[3f8be484]348 </seglistitem>
349 </segmentedlist>
350
351 <variablelist>
352 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
353 <?dbfo list-presentation="list"?>
354 <?dbhtml list-presentation="table"?>
355
356 <varlistentry id="catchsegv">
357 <term><command>catchsegv</command></term>
358 <listitem>
359 <para>Can be used to create a stack trace when a program
360 terminates with a segmentation fault</para>
[093b0e8]361 <indexterm zone="ch-system-eglibc catchsegv">
[3f8be484]362 <primary sortas="b-catchsegv">catchsegv</primary>
363 </indexterm>
364 </listitem>
365 </varlistentry>
366
367 <varlistentry id="gencat">
368 <term><command>gencat</command></term>
369 <listitem>
370 <para>Generates message catalogues</para>
[093b0e8]371 <indexterm zone="ch-system-eglibc gencat">
[3f8be484]372 <primary sortas="b-gencat">gencat</primary>
373 </indexterm>
374 </listitem>
375 </varlistentry>
376
377 <varlistentry id="getconf">
378 <term><command>getconf</command></term>
379 <listitem>
380 <para>Displays the system configuration values for file system specific
381 variables</para>
[093b0e8]382 <indexterm zone="ch-system-eglibc getconf">
[3f8be484]383 <primary sortas="b-getconf">getconf</primary>
384 </indexterm>
385 </listitem>
386 </varlistentry>
387
388 <varlistentry id="getent">
389 <term><command>getent</command></term>
390 <listitem>
391 <para>Gets entries from an administrative database</para>
[093b0e8]392 <indexterm zone="ch-system-eglibc getent">
[3f8be484]393 <primary sortas="b-getent">getent</primary>
394 </indexterm>
395 </listitem>
396 </varlistentry>
397
398 <varlistentry id="iconv">
399 <term><command>iconv</command></term>
400 <listitem>
401 <para>Performs character set conversion</para>
[093b0e8]402 <indexterm zone="ch-system-eglibc iconv">
[3f8be484]403 <primary sortas="b-iconv">iconv</primary>
404 </indexterm>
405 </listitem>
406 </varlistentry>
407
408 <varlistentry id="iconvconfig">
409 <term><command>iconvconfig</command></term>
410 <listitem>
411 <para>Creates fastloading <command>iconv</command> module configuration
412 files</para>
[093b0e8]413 <indexterm zone="ch-system-eglibc iconvconfig">
[3f8be484]414 <primary sortas="b-iconvconfig">iconvconfig</primary>
415 </indexterm>
416 </listitem>
417 </varlistentry>
418
419 <varlistentry id="ldconfig">
420 <term><command>ldconfig</command></term>
421 <listitem>
422 <para>Configures the dynamic linker runtime bindings</para>
[093b0e8]423 <indexterm zone="ch-system-eglibc ldconfig">
[3f8be484]424 <primary sortas="b-ldconfig">ldconfig</primary>
425 </indexterm>
426 </listitem>
427 </varlistentry>
428
429 <varlistentry id="ldd">
430 <term><command>ldd</command></term>
431 <listitem>
432 <para>Reports which shared libraries are required
433 by each given program or shared library</para>
[093b0e8]434 <indexterm zone="ch-system-eglibc ldd">
[3f8be484]435 <primary sortas="b-ldd">ldd</primary>
436 </indexterm>
437 </listitem>
438 </varlistentry>
439
440 <varlistentry id="lddlibc4">
441 <term><command>lddlibc4</command></term>
442 <listitem>
443 <para>Assists <command>ldd</command> with object files</para>
[093b0e8]444 <indexterm zone="ch-system-eglibc lddlibc4">
[3f8be484]445 <primary sortas="b-lddlibc4">lddlibc4</primary>
446 </indexterm>
447 </listitem>
448 </varlistentry>
449
450 <varlistentry id="locale">
451 <term><command>locale</command></term>
452 <listitem>
453 <para>Tells the compiler to enable or disable the use of POSIX locales
454 for built-in operations</para>
[093b0e8]455 <indexterm zone="ch-system-eglibc locale">
[3f8be484]456 <primary sortas="b-locale">locale</primary>
457 </indexterm>
458 </listitem>
459 </varlistentry>
460
461 <varlistentry id="localedef">
462 <term><command>localedef</command></term>
463 <listitem>
464 <para>Compiles locale specifications</para>
[093b0e8]465 <indexterm zone="ch-system-eglibc localedef">
[3f8be484]466 <primary sortas="b-localedef">localedef</primary>
467 </indexterm>
468 </listitem>
469 </varlistentry>
470
[2b220db9]471 <varlistentry id="makedb">
472 <term><command>makedb</command></term>
473 <listitem>
474 <para>Creates a simple database from textual input</para>
475 <indexterm zone="ch-system-eglibc makedb">
476 <primary sortas="b-makedb">makedb</primary>
477 </indexterm>
478 </listitem>
479 </varlistentry>
480
[3f8be484]481 <varlistentry id="mtrace">
482 <term><command>mtrace</command></term>
483 <listitem>
484 <para>Reads and interprets a memory trace file and
485 displays a summary in human-readable format</para>
[093b0e8]486 <indexterm zone="ch-system-eglibc mtrace">
[3f8be484]487 <primary sortas="b-mtrace">mtrace</primary>
488 </indexterm>
489 </listitem>
490 </varlistentry>
491
492 <varlistentry id="nscd">
493 <term><command>nscd</command></term>
494 <listitem>
495 <para>A daemon that provides a cache for the most common name
496 service requests</para>
[093b0e8]497 <indexterm zone="ch-system-eglibc nscd">
[3f8be484]498 <primary sortas="b-nscd">nscd</primary>
499 </indexterm>
500 </listitem>
501 </varlistentry>
502
503 <varlistentry id="pcprofiledump">
504 <term><command>pcprofiledump</command></term>
505 <listitem>
506 <para>Dumps information generated by PC profiling</para>
[093b0e8]507 <indexterm zone="ch-system-eglibc pcprofiledump">
[3f8be484]508 <primary sortas="b-pcprofiledump">pcprofiledump</primary>
509 </indexterm>
510 </listitem>
511 </varlistentry>
512
[2b220db9]513 <varlistentry id="pldd">
514 <term><command>pldd</command></term>
515 <listitem>
516 <para>Lists dynamic shared objects used by running processes</para>
517 <indexterm zone="ch-system-eglibc pldd">
518 <primary sortas="b-pldd">pldd</primary>
519 </indexterm>
520 </listitem>
521 </varlistentry>
522
[3f8be484]523 <varlistentry id="pt_chown">
524 <term><command>pt_chown</command></term>
525 <listitem>
526 <para>A helper program for <command>grantpt</command> to set the owner,
527 group and access permissions of a slave pseudo terminal</para>
[093b0e8]528 <indexterm zone="ch-system-eglibc pt_chown">
[3f8be484]529 <primary sortas="b-pt_chown">pt_chown</primary>
530 </indexterm>
531 </listitem>
532 </varlistentry>
533
534 <varlistentry id="rpcgen">
535 <term><command>rpcgen</command></term>
536 <listitem>
537 <para>Generates C code to implement the Remote Procecure Call (RPC)
538 protocol</para>
[093b0e8]539 <indexterm zone="ch-system-eglibc rpcgen">
[3f8be484]540 <primary sortas="b-rpcgen">rpcgen</primary>
541 </indexterm>
542 </listitem>
543 </varlistentry>
544
545 <varlistentry id="sln">
546 <term><command>sln</command></term>
547 <listitem>
[7087cbc]548 <para>A statically linked program that creates symbolic links</para>
[093b0e8]549 <indexterm zone="ch-system-eglibc sln">
[3f8be484]550 <primary sortas="b-sln">sln</primary>
551 </indexterm>
552 </listitem>
553 </varlistentry>
554
[2b220db9]555 <varlistentry id="sotruss">
556 <term><command>sotruss</command></term>
557 <listitem>
558 <para>Traces shared library procedure calls of a specified command</para>
559 <indexterm zone="ch-system-eglibc sotruss">
560 <primary sortas="b-sotruss">sotruss</primary>
561 </indexterm>
562 </listitem>
563 </varlistentry>
564
[3f8be484]565 <varlistentry id="sprof">
566 <term><command>sprof</command></term>
567 <listitem>
568 <para>Reads and displays shared object profiling data</para>
[093b0e8]569 <indexterm zone="ch-system-eglibc sprof">
[3f8be484]570 <primary sortas="b-sprof">sprof</primary>
571 </indexterm>
572 </listitem>
573 </varlistentry>
574
575 <varlistentry id="tzselect">
576 <term><command>tzselect</command></term>
577 <listitem>
578 <para>Asks the user about the location of the
579 system and reports the corresponding time zone description</para>
[093b0e8]580 <indexterm zone="ch-system-eglibc tzselect">
[3f8be484]581 <primary sortas="b-tzselect">tzselect</primary>
582 </indexterm>
583 </listitem>
584 </varlistentry>
585
586 <varlistentry id="xtrace">
587 <term><command>xtrace</command></term>
588 <listitem>
589 <para>Traces the execution of a program by
590 printing the currently executed function</para>
[093b0e8]591 <indexterm zone="ch-system-eglibc xtrace">
[3f8be484]592 <primary sortas="b-xtrace">xtrace</primary>
593 </indexterm>
594 </listitem>
595 </varlistentry>
596
597 <varlistentry id="zdump">
598 <term><command>zdump</command></term>
599 <listitem>
600 <para>The time zone dumper</para>
[093b0e8]601 <indexterm zone="ch-system-eglibc zdump">
[3f8be484]602 <primary sortas="b-zdump">zdump</primary>
603 </indexterm>
604 </listitem>
605 </varlistentry>
606
607 <varlistentry id="zic">
608 <term><command>zic</command></term>
609 <listitem>
610 <para>The time zone compiler</para>
[093b0e8]611 <indexterm zone="ch-system-eglibc zic">
[3f8be484]612 <primary sortas="b-zic">zic</primary>
613 </indexterm>
614 </listitem>
615 </varlistentry>
616
617 <varlistentry id="ld.so">
618 <term><filename class="libraryfile">ld.so</filename></term>
619 <listitem>
620 <para>The helper program for shared library executables</para>
[093b0e8]621 <indexterm zone="ch-system-eglibc ld.so">
[3f8be484]622 <primary sortas="c-ld.so">ld.so</primary>
623 </indexterm>
624 </listitem>
625 </varlistentry>
626
627 <varlistentry id="libBrokenLocale">
628 <term><filename class="libraryfile">libBrokenLocale</filename></term>
629 <listitem>
630 <para>Used by programs, such as Mozilla, to solve broken locales</para>
[093b0e8]631 <indexterm zone="ch-system-eglibc libBrokenLocale">
[3f8be484]632 <primary sortas="c-libBrokenLocale">libBrokenLocale</primary>
633 </indexterm>
634 </listitem>
635 </varlistentry>
636
637 <varlistentry id="libSegFault">
638 <term><filename class="libraryfile">libSegFault</filename></term>
639 <listitem>
640 <para>The segmentation fault signal handler</para>
[093b0e8]641 <indexterm zone="ch-system-eglibc libSegFault">
[3f8be484]642 <primary sortas="c-libSegFault">libSegFault</primary>
643 </indexterm>
644 </listitem>
645 </varlistentry>
646
647 <varlistentry id="libanl">
648 <term><filename class="libraryfile">libanl</filename></term>
649 <listitem>
650 <para>An asynchronous name lookup library</para>
[093b0e8]651 <indexterm zone="ch-system-eglibc libanl">
[3f8be484]652 <primary sortas="c-libanl">libanl</primary>
653 </indexterm>
654 </listitem>
655 </varlistentry>
656
657 <varlistentry id="libbsd-compat">
658 <term><filename class="libraryfile">libbsd-compat</filename></term>
659 <listitem>
660 <para>Provides the portability needed
661 in order to run certain Berkey Software Distribution (BSD) programs
662 under Linux</para>
[093b0e8]663 <indexterm zone="ch-system-eglibc libbsd-compat">
[3f8be484]664 <primary sortas="c-libbsd-compat">libbsd-compat</primary>
665 </indexterm>
666 </listitem>
667 </varlistentry>
668
669 <varlistentry id="libc">
670 <term><filename class="libraryfile">libc</filename></term>
671 <listitem>
672 <para>The main C library</para>
[093b0e8]673 <indexterm zone="ch-system-eglibc libc">
[3f8be484]674 <primary sortas="c-libc">libc</primary>
675 </indexterm>
676 </listitem>
677 </varlistentry>
678
[188b6b2]679 <varlistentry id="libcidn">
680 <term><filename class="libraryfile">libcidn</filename></term>
681 <listitem>
682 <para>Used internally by EGLIBC for handling internationalized domain
683 names in the <function>getaddrinfo()</function> function</para>
684 <indexterm zone="ch-system-eglibc libcidn">
685 <primary sortas="c-libcidn">libcidn</primary>
686 </indexterm>
687 </listitem>
688 </varlistentry>
689
[3f8be484]690 <varlistentry id="libcrypt">
691 <term><filename class="libraryfile">libcrypt</filename></term>
692 <listitem>
693 <para>The cryptography library</para>
[093b0e8]694 <indexterm zone="ch-system-eglibc libcrypt">
[3f8be484]695 <primary sortas="c-libcrypt">libcrypt</primary>
696 </indexterm>
697 </listitem>
698 </varlistentry>
699
700 <varlistentry id="libdl">
701 <term><filename class="libraryfile">libdl</filename></term>
702 <listitem>
703 <para>The dynamic linking interface library</para>
[093b0e8]704 <indexterm zone="ch-system-eglibc libdl">
[3f8be484]705 <primary sortas="c-libdl">libdl</primary>
706 </indexterm>
707 </listitem>
708 </varlistentry>
709
710 <varlistentry id="libg">
711 <term><filename class="libraryfile">libg</filename></term>
712 <listitem>
713 <para>A runtime library for <command>g++</command></para>
[093b0e8]714 <indexterm zone="ch-system-eglibc libg">
[3f8be484]715 <primary sortas="c-libg">libg</primary>
716 </indexterm>
717 </listitem>
718 </varlistentry>
719
720 <varlistentry id="libieee">
721 <term><filename class="libraryfile">libieee</filename></term>
722 <listitem>
723 <para>The Institute of Electrical and Electronic Engineers (IEEE)
724 floating point library</para>
[093b0e8]725 <indexterm zone="ch-system-eglibc libieee">
[3f8be484]726 <primary sortas="c-libieee">libieee</primary>
727 </indexterm>
728 </listitem>
729 </varlistentry>
730
731 <varlistentry id="libm">
732 <term><filename class="libraryfile">libm</filename></term>
733 <listitem>
734 <para>The mathematical library</para>
[093b0e8]735 <indexterm zone="ch-system-eglibc libm">
[3f8be484]736 <primary sortas="c-libm">libm</primary>
737 </indexterm>
738 </listitem>
739 </varlistentry>
740
741 <varlistentry id="libmcheck">
742 <term><filename class="libraryfile">libmcheck</filename></term>
743 <listitem>
744 <para>Contains code run at boot</para>
[093b0e8]745 <indexterm zone="ch-system-eglibc libmcheck">
[3f8be484]746 <primary sortas="c-libmcheck">libmcheck</primary>
747 </indexterm>
748 </listitem>
749 </varlistentry>
750
751 <varlistentry id="libmemusage">
752 <term><filename class="libraryfile">libmemusage</filename></term>
753 <listitem>
[093b0e8]754 <para>Used by <command>memusage</command> (included in EGLIBC, but
[7087cbc]755 not built in a base CLFS system as it has additional dependencies)
756 to help collect information about the memory usage of a program</para>
[093b0e8]757 <indexterm zone="ch-system-eglibc libmemusage">
[3f8be484]758 <primary sortas="c-libmemusage">libmemusage</primary>
759 </indexterm>
760 </listitem>
761 </varlistentry>
762
763 <varlistentry id="libnsl">
764 <term><filename class="libraryfile">libnsl</filename></term>
765 <listitem>
766 <para>The network services library</para>
[093b0e8]767 <indexterm zone="ch-system-eglibc libnsl">
[3f8be484]768 <primary sortas="c-libnsl">libnsl</primary>
769 </indexterm>
770 </listitem>
771 </varlistentry>
772
773 <varlistentry id="libnss">
774 <term><filename class="libraryfile">libnss</filename></term>
775 <listitem>
776 <para>The Name Service Switch libraries, containing functions for
777 resolving host names, user names, group names, aliases, services,
778 protocols, etc.</para>
[093b0e8]779 <indexterm zone="ch-system-eglibc libnss">
[3f8be484]780 <primary sortas="c-libnss">libnss</primary>
781 </indexterm>
782 </listitem>
783 </varlistentry>
784
785 <varlistentry id="libpcprofile">
786 <term><filename class="libraryfile">libpcprofile</filename></term>
787 <listitem>
788 <para>Contains profiling functions used to track the amount of CPU
789 time spent in specific source code lines</para>
[093b0e8]790 <indexterm zone="ch-system-eglibc libpcprofile">
[3f8be484]791 <primary sortas="c-libpcprofile">libpcprofile</primary>
792 </indexterm>
793 </listitem>
794 </varlistentry>
795
796 <varlistentry id="libpthread">
797 <term><filename class="libraryfile">libpthread</filename></term>
798 <listitem>
799 <para>The POSIX threads library</para>
[093b0e8]800 <indexterm zone="ch-system-eglibc libpthread">
[3f8be484]801 <primary sortas="c-libpthread">libpthread</primary>
802 </indexterm>
803 </listitem>
804 </varlistentry>
805
806 <varlistentry id="libresolv">
807 <term><filename class="libraryfile">libresolv</filename></term>
808 <listitem>
809 <para>Contains functions for creating, sending, and interpreting
810 packets to the Internet domain name servers</para>
[093b0e8]811 <indexterm zone="ch-system-eglibc libresolv">
[3f8be484]812 <primary sortas="c-libresolv">libresolv</primary>
813 </indexterm>
814 </listitem>
815 </varlistentry>
816
817 <varlistentry id="librpcsvc">
818 <term><filename class="libraryfile">librpcsvc</filename></term>
819 <listitem>
820 <para>Contains functions providing miscellaneous RPC services</para>
[093b0e8]821 <indexterm zone="ch-system-eglibc librpcsvc">
[3f8be484]822 <primary sortas="c-librpcsvc">librpcsvc</primary>
823 </indexterm>
824 </listitem>
825 </varlistentry>
826
827 <varlistentry id="librt">
828 <term><filename class="libraryfile">librt</filename></term>
829 <listitem>
830 <para>Contains functions providing most of the interfaces specified by
831 the POSIX.1b Realtime Extension</para>
[093b0e8]832 <indexterm zone="ch-system-eglibc librt">
[3f8be484]833 <primary sortas="c-librt">librt</primary>
834 </indexterm>
835 </listitem>
836 </varlistentry>
837
838 <varlistentry id="libthread_db">
839 <term><filename class="libraryfile">libthread_db</filename></term>
840 <listitem>
841 <para>Contains functions useful for
842 building debuggers for multi-threaded programs</para>
[093b0e8]843 <indexterm zone="ch-system-eglibc libthread_db">
[3f8be484]844 <primary sortas="c-libthread_db">libthread_db</primary>
845 </indexterm>
846 </listitem>
847 </varlistentry>
848
849 <varlistentry id="libutil">
850 <term><filename class="libraryfile">libutil</filename></term>
851 <listitem>
852 <para>Contains code for <quote>standard</quote> functions used in
853 many different Unix utilities</para>
[093b0e8]854 <indexterm zone="ch-system-eglibc libutil">
[3f8be484]855 <primary sortas="c-libutil">libutil</primary>
856 </indexterm>
857 </listitem>
858 </varlistentry>
859
860 </variablelist>
861
862 </sect2>
863
864</sect1>
Note: See TracBrowser for help on using the repository browser.