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