glibc.xml 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
  3. <!ENTITY % general-entities SYSTEM "../general.ent">
  4. %general-entities;
  5. ]>
  6. <sect1 id="ch-system-glibc" role="wrap">
  7. <title>Glibc-&glibc-version;</title>
  8. <?dbhtml filename="glibc.html"?>
  9. <indexterm zone="ch-system-glibc"><primary sortas="a-Glibc">Glibc</primary></indexterm>
  10. <sect2 role="package"><title/>
  11. <para>The Glibc package contains the main C library. This library provides
  12. the basic routines for allocating memory, searching directories, opening and
  13. closing files, reading and writing files, string handling, pattern matching,
  14. arithmetic, and so on.</para>
  15. <segmentedlist>
  16. <segtitle>&buildtime;</segtitle>
  17. <segtitle>&diskspace;</segtitle>
  18. <seglistitem><seg>16.7 SBU</seg><seg>500 MB</seg></seglistitem>
  19. </segmentedlist>
  20. <segmentedlist>
  21. <segtitle>&dependencies;</segtitle>
  22. <seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,
  23. Gawk, GCC, Gettext, Grep, Make, Perl, Sed, and Texinfo</seg></seglistitem>
  24. </segmentedlist>
  25. </sect2>
  26. <sect2 role="installation">
  27. <title>Installation of Glibc</title>
  28. <note><para>Some packages outside of LFS suggest installing GNU libiconv in
  29. order to translate data from one encoding to another. The project's home page
  30. (<ulink url="http://www.gnu.org/software/libiconv/"/>) says <quote>This library
  31. provides an <function>iconv()</function> implementation, for use on systems
  32. which don't have one, or whose implementation cannot convert from/to Unicode.
  33. </quote> Glibc provides an <function>iconv()</function> implementation and can
  34. convert from/to Unicode, therefore libiconv is not required on an LFS
  35. system.</para></note>
  36. <para>The Glibc build system is self-contained and will install
  37. perfectly, even though the compiler specs file and linker are still
  38. pointing at <filename class="directory">/tools</filename>. The specs
  39. and linker cannot be adjusted before the Glibc install because the
  40. Glibc autoconf tests would give false results and defeat the goal
  41. of achieving a clean build.</para>
  42. <para>The glibc-libidn tarball adds support for internationalized
  43. domain names (IDN) to Glibc. Many programs that
  44. support IDN require the full libidn library (see
  45. <ulink url="&blfs-root;view/svn/general/libidn.html"/>),
  46. not this add-on.
  47. Unpack the tarball from within the Glibc source
  48. directory:</para>
  49. <screen><userinput>tar -xf ../glibc-libidn-&glibc-version;.tar.bz2</userinput></screen>
  50. <para>In the vi_VN.TCVN locale, <command>bash</command> enters an infinite loop
  51. at startup. It is unknown whether this is a <command>bash</command> bug or a
  52. Glibc problem. Disable installation of this locale in order to avoid the
  53. problem:</para>
  54. <screen><userinput>sed -i '/vi_VN.TCVN/d' localedata/SUPPORTED</userinput></screen>
  55. <para>When running <command>make install</command>, a script called
  56. <filename>test-installation.pl</filename> performs a small sanity test
  57. on our newly installed Glibc. However, because our toolchain still points to the
  58. <filename class="directory">/tools</filename> directory, the sanity test would
  59. be carried out against the wrong Glibc. We can force the script to check the
  60. Glibc we have just installed with the following:</para>
  61. <screen><userinput>sed -i \
  62. 's|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=/lib/ld-linux.so.2 -o|' \
  63. scripts/test-installation.pl</userinput></screen>
  64. <para>The Glibc documentation recommends building Glibc outside of the source
  65. directory in a dedicated build directory:</para>
  66. <screen><userinput>mkdir -v ../glibc-build
  67. cd ../glibc-build</userinput></screen>
  68. <para>Prepare Glibc for compilation:</para>
  69. <screen><userinput>../glibc-&glibc-version;/configure --prefix=/usr \
  70. --disable-profile --enable-add-ons \
  71. --enable-kernel=2.6.0 --libexecdir=/usr/lib/glibc</userinput></screen>
  72. <para>The meaning of the new configure options:</para>
  73. <variablelist>
  74. <varlistentry>
  75. <term><parameter>--libexecdir=/usr/lib/glibc</parameter></term>
  76. <listitem><para>This changes the location of the
  77. <command>pt_chown</command> program from its default of <filename
  78. class="directory">/usr/libexec</filename> to <filename
  79. class="directory">/usr/lib/glibc</filename>.</para></listitem>
  80. </varlistentry>
  81. </variablelist>
  82. <para>Compile the package:</para>
  83. <screen><userinput>make</userinput></screen>
  84. <important><para>In this section, the test suite for Glibc is
  85. considered critical. Do not skip it under any
  86. circumstance.</para></important>
  87. <para>Test the results:</para>
  88. <screen><userinput>make -k check &gt;glibc-check-log 2&gt;&amp;1
  89. grep Error glibc-check-log</userinput></screen>
  90. <para>On at least i686 you can expect to see failures in the <emphasis>test-double
  91. </emphasis> and <emphasis>test-idouble</emphasis> math tests with
  92. gcc-&gcc-version;, as well as an expected (ignored) failure in <emphasis>
  93. posix/annexc</emphasis>. These two failures in the math tests appear to be
  94. harmless.</para>
  95. <para>The Glibc test suite is highly dependent on certain functions of
  96. the host system, in particular the kernel. In certain circumstances,
  97. some failures are unavoidable. This is a list of the most common
  98. issues:</para>
  99. <itemizedlist>
  100. <listitem><para>The <emphasis>math</emphasis> tests sometimes fail in other tests
  101. when running
  102. on systems where the CPU is not a relatively new genuine Intel or authentic AMD.
  103. Certain optimization settings are also known to be a factor here.</para></listitem>
  104. <listitem><para>The <emphasis>gettext</emphasis> test sometimes fails due to
  105. host system issues. The exact reasons are not yet clear.</para></listitem>
  106. <listitem><para>If you have mounted the LFS partition with the
  107. <parameter>noatime</parameter> option, the <emphasis>atime</emphasis> test will
  108. fail. As mentioned in <xref linkend="space-mounting"/>, do not use the
  109. <parameter>noatime</parameter> option while building LFS.</para></listitem>
  110. <listitem><para>When running on older and slower hardware, some tests
  111. can fail because of test timeouts being exceeded.</para></listitem>
  112. </itemizedlist>
  113. <para>Though it is a harmless message, the install stage of Glibc will
  114. complain about the absence of <filename>/etc/ld.so.conf</filename>.
  115. Prevent this warning with:</para>
  116. <screen><userinput>touch /etc/ld.so.conf</userinput></screen>
  117. <para>Install the package:</para>
  118. <screen><userinput>make install</userinput></screen>
  119. <para>The locales that can make the system respond in a different
  120. language were not installed by the above command. None of the
  121. locales are required, but, if some of them are misssing, testuites of the
  122. future packages would skip important testcases.</para>
  123. <para>Individual locales can be installed using the <command>localedef</command>
  124. program. E.g., the first <command>localedef</command> command below combines
  125. the <filename>/usr/share/i18n/locales/de_DE</filename> charset-independent
  126. locale definition with the
  127. <filename>/usr/share/i18n/charmaps/ISO-8859-1.gz</filename> charmap definition
  128. and appends the result to the
  129. <filename>/usr/lib/locale/locale-archive</filename> file. The following
  130. instructions will install the minimum set of locales necessary
  131. for the optimal coverage of tests:</para>
  132. <screen role="nodump"><userinput>mkdir -pv /usr/lib/locale
  133. localedef -i de_DE -f ISO-8859-1 de_DE
  134. localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro
  135. localedef -i en_HK -f ISO-8859-1 en_HK
  136. localedef -i en_PH -f ISO-8859-1 en_PH
  137. localedef -i en_US -f ISO-8859-1 en_US
  138. localedef -i en_US -f UTF-8 en_US.UTF-8
  139. localedef -i es_MX -f ISO-8859-1 es_MX
  140. localedef -i fa_IR -f UTF-8 fa_IR
  141. localedef -i fr_FR -f ISO-8859-1 fr_FR
  142. localedef -i fr_FR@euro -f ISO-8859-15 fr_FR@euro
  143. localedef -i fr_FR -f UTF-8 fr_FR.UTF-8
  144. localedef -i it_IT -f ISO-8859-1 it_IT
  145. localedef -i ja_JP -f EUC-JP ja_JP</userinput></screen>
  146. <para>In addition, install the locale for your own country, language and
  147. character set.</para>
  148. <para>Alternatively, install all locales
  149. listed in the <filename>glibc-&glibc-version;/localedata/SUPPORTED</filename>
  150. file (it includes every locale listed above and many more)
  151. at once with the following time-consuming command:</para>
  152. <screen><userinput>make localedata/install-locales</userinput></screen>
  153. <para>Then use the <command>localedef</command> command to create and
  154. install locales not listed in the
  155. <filename>glibc-&glibc-version;/localedata/SUPPORTED</filename> file
  156. in the unlikely case if you need them.</para>
  157. <!-- The Live CD patches the localedata/SUPPORTED file instead of
  158. running localedef, the results are equivalent -->
  159. </sect2>
  160. <sect2 id="conf-glibc" role="configuration"><title>Configuring Glibc</title>
  161. <indexterm zone="conf-glibc"><primary sortas="e-/etc/nsswitch.conf">/etc/nsswitch.conf</primary></indexterm>
  162. <indexterm zone="conf-glibc"><primary sortas="e-/etc/localtime">/etc/localtime</primary></indexterm>
  163. <para>The <filename>/etc/nsswitch.conf</filename> file needs to be created
  164. because, although Glibc provides defaults when this file is missing or corrupt,
  165. the Glibc defaults do not work well in a networked environment. The time zone
  166. also needs to be configured.</para>
  167. <para>Create a new file <filename>/etc/nsswitch.conf</filename> by running the
  168. following:</para>
  169. <screen><userinput>cat &gt; /etc/nsswitch.conf &lt;&lt; "EOF"
  170. <literal># Begin /etc/nsswitch.conf
  171. passwd: files
  172. group: files
  173. shadow: files
  174. hosts: files dns
  175. networks: files
  176. protocols: files
  177. services: files
  178. ethers: files
  179. rpc: files
  180. # End /etc/nsswitch.conf</literal>
  181. EOF</userinput></screen>
  182. <para>To determine the local time zone, run the following script:</para>
  183. <screen role="nodump"><userinput>tzselect</userinput></screen>
  184. <para>After answering a few questions about the location, the script
  185. will output the name of the time zone (e.g.,
  186. <emphasis>EST5EDT</emphasis> or <emphasis>Canada/Eastern</emphasis>).
  187. Then create the <filename>/etc/localtime</filename> file by
  188. running:</para>
  189. <screen><userinput>cp -v --remove-destination /usr/share/zoneinfo/<replaceable>[xxx]</replaceable> \
  190. /etc/localtime</userinput></screen>
  191. <para>Replace <replaceable>[xxx]</replaceable> with the name of the time zone
  192. that <command>tzselect</command> provided (e.g., Canada/Eastern).</para>
  193. <para>The meaning of the cp option:</para>
  194. <variablelist>
  195. <varlistentry>
  196. <term><parameter>--remove-destination</parameter></term>
  197. <listitem><para>This is needed to force removal of the already
  198. existing symbolic link. The reason for copying the file instead of
  199. using a symlink is to cover the situation where <filename
  200. class="directory">/usr</filename> is on a separate partition. This
  201. could be important when booted into single user
  202. mode.</para></listitem>
  203. </varlistentry>
  204. </variablelist>
  205. </sect2>
  206. <sect2 id="conf-ld" role="configuration">
  207. <title>Configuring the Dynamic Loader</title>
  208. <indexterm zone="conf-ld"><primary sortas="e-/etc/ld.so.conf">/etc/ld.so.conf</primary></indexterm>
  209. <para>By default, the dynamic loader (<filename
  210. class="libraryfile">/lib/ld-linux.so.2</filename>) searches through
  211. <filename class="directory">/lib</filename> and <filename
  212. class="directory">/usr/lib</filename> for dynamic libraries that are
  213. needed by programs as they are run. However, if there are libraries in
  214. directories other than <filename class="directory">/lib</filename> and
  215. <filename class="directory">/usr/lib</filename>, these need to be
  216. added to the <filename>/etc/ld.so.conf</filename> file in order
  217. for the dynamic loader to find them. Two directories that are commonly
  218. known to contain additional libraries are <filename
  219. class="directory">/usr/local/lib</filename> and <filename
  220. class="directory">/opt/lib</filename>, so add those directories to the
  221. dynamic loader's search path.</para>
  222. <para>Create a new file <filename>/etc/ld.so.conf</filename> by running the
  223. following:</para>
  224. <screen><userinput>cat &gt; /etc/ld.so.conf &lt;&lt; "EOF"
  225. <literal># Begin /etc/ld.so.conf
  226. /usr/local/lib
  227. /opt/lib
  228. # End /etc/ld.so.conf</literal>
  229. EOF</userinput></screen>
  230. </sect2>
  231. <sect2 id="contents-glibc" role="content"><title>Contents of Glibc</title>
  232. <segmentedlist>
  233. <segtitle>Installed programs</segtitle>
  234. <segtitle>Installed libraries</segtitle>
  235. <seglistitem><seg>catchsegv, gencat, getconf,
  236. getent, iconv, iconvconfig, ldconfig, ldd, lddlibc4, locale,
  237. localedef, mtrace, nscd, nscd_nischeck, pcprofiledump, pt_chown, rpcgen,
  238. rpcinfo, sln, sprof, tzselect, xtrace, zdump, and zic</seg>
  239. <seg>ld.so, libBrokenLocale.[a,so],
  240. libSegFault.so, libanl.[a,so], libbsd-compat.a, libc.[a,so], libcidn.so,
  241. libcrypt.[a,so], libdl.[a,so], libg.a, libieee.a, libm.[a,so], libmcheck.a,
  242. libmemusage.so, libnsl.a, libnss_compat.so, libnss_dns.so, libnss_files.so,
  243. libnss_hesiod.so, libnss_nis.so, libnss_nisplus.so, libpcprofile.so,
  244. libpthread.[a,so], libresolv.[a,so], librpcsvc.a, librt.[a,so],
  245. libthread_db.so, and libutil.[a,so]</seg></seglistitem>
  246. </segmentedlist>
  247. <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
  248. <?dbfo list-presentation="list"?>
  249. <?dbhtml list-presentation="table"?>
  250. <varlistentry id="catchsegv">
  251. <term><command>catchsegv</command></term>
  252. <listitem>
  253. <para>Can be used to create a stack trace when a program
  254. terminates with a segmentation fault</para>
  255. <indexterm zone="ch-system-glibc catchsegv"><primary sortas="b-catchsegv">catchsegv</primary></indexterm>
  256. </listitem>
  257. </varlistentry>
  258. <varlistentry id="gencat">
  259. <term><command>gencat</command></term>
  260. <listitem>
  261. <para>Generates message catalogues</para>
  262. <indexterm zone="ch-system-glibc gencat"><primary sortas="b-gencat">gencat</primary></indexterm>
  263. </listitem>
  264. </varlistentry>
  265. <varlistentry id="getconf">
  266. <term><command>getconf</command></term>
  267. <listitem>
  268. <para>Displays the system configuration values for file system specific variables</para>
  269. <indexterm zone="ch-system-glibc getconf"><primary sortas="b-getconf">getconf</primary></indexterm>
  270. </listitem>
  271. </varlistentry>
  272. <varlistentry id="getent">
  273. <term><command>getent</command></term>
  274. <listitem>
  275. <para>Gets entries from an administrative database</para>
  276. <indexterm zone="ch-system-glibc getent"><primary sortas="b-getent">getent</primary></indexterm>
  277. </listitem>
  278. </varlistentry>
  279. <varlistentry id="iconv">
  280. <term><command>iconv</command></term>
  281. <listitem>
  282. <para>Performs character set conversion</para>
  283. <indexterm zone="ch-system-glibc iconv"><primary sortas="b-iconv">iconv</primary></indexterm>
  284. </listitem>
  285. </varlistentry>
  286. <varlistentry id="iconvconfig">
  287. <term><command>iconvconfig</command></term>
  288. <listitem>
  289. <para>Creates fastloading <command>iconv</command> module configuration files</para>
  290. <indexterm zone="ch-system-glibc iconvconfig"><primary sortas="b-iconvconfig">iconvconfig</primary></indexterm>
  291. </listitem>
  292. </varlistentry>
  293. <varlistentry id="ldconfig">
  294. <term><command>ldconfig</command></term>
  295. <listitem>
  296. <para>Configures the dynamic linker runtime bindings</para>
  297. <indexterm zone="ch-system-glibc ldconfig"><primary sortas="b-ldconfig">ldconfig</primary></indexterm>
  298. </listitem>
  299. </varlistentry>
  300. <varlistentry id="ldd">
  301. <term><command>ldd</command></term>
  302. <listitem>
  303. <para>Reports which shared libraries are required
  304. by each given program or shared library</para>
  305. <indexterm zone="ch-system-glibc ldd"><primary sortas="b-ldd">ldd</primary></indexterm>
  306. </listitem>
  307. </varlistentry>
  308. <varlistentry id="lddlibc4">
  309. <term><command>lddlibc4</command></term>
  310. <listitem>
  311. <para>Assists <command>ldd</command> with object files</para>
  312. <indexterm zone="ch-system-glibc lddlibc4"><primary sortas="b-lddlibc4">lddlibc4</primary></indexterm>
  313. </listitem>
  314. </varlistentry>
  315. <varlistentry id="locale">
  316. <term><command>locale</command></term>
  317. <listitem>
  318. <para>Prints various information about the current locale</para>
  319. <indexterm zone="ch-system-glibc locale"><primary sortas="b-locale">locale</primary></indexterm>
  320. </listitem>
  321. </varlistentry>
  322. <varlistentry id="localedef">
  323. <term><command>localedef</command></term>
  324. <listitem>
  325. <para>Compiles locale specifications</para>
  326. <indexterm zone="ch-system-glibc localedef"><primary sortas="b-localedef">localedef</primary></indexterm>
  327. </listitem>
  328. </varlistentry>
  329. <varlistentry id="mtrace">
  330. <term><command>mtrace</command></term>
  331. <listitem>
  332. <para>Reads and interprets a memory trace file and displays a summary in human-readable format</para>
  333. <indexterm zone="ch-system-glibc mtrace"><primary sortas="b-mtrace">mtrace</primary></indexterm>
  334. </listitem>
  335. </varlistentry>
  336. <varlistentry id="nscd">
  337. <term><command>nscd</command></term>
  338. <listitem>
  339. <para>A daemon that provides a cache for the most common name
  340. service requests</para>
  341. <indexterm zone="ch-system-glibc nscd"><primary sortas="b-nscd">nscd</primary></indexterm>
  342. </listitem>
  343. </varlistentry>
  344. <varlistentry id="nscd_nischeck">
  345. <term><command>nscd_nischeck</command></term>
  346. <listitem>
  347. <para>Checks whether or not secure mode is necessary for NIS+ lookup</para>
  348. <indexterm zone="ch-system-glibc nscd_nischeck"><primary sortas="b-nscd_nischeck">nscd_nischeck</primary></indexterm>
  349. </listitem>
  350. </varlistentry>
  351. <varlistentry id="pcprofiledump">
  352. <term><command>pcprofiledump</command></term>
  353. <listitem>
  354. <para>Dumps information generated by PC profiling</para>
  355. <indexterm zone="ch-system-glibc pcprofiledump"><primary sortas="b-pcprofiledump">pcprofiledump</primary></indexterm>
  356. </listitem>
  357. </varlistentry>
  358. <varlistentry id="pt_chown">
  359. <term><command>pt_chown</command></term>
  360. <listitem>
  361. <para>A helper program for <command>grantpt</command> to set
  362. the owner, group and access permissions of a slave pseudo terminal</para>
  363. <indexterm zone="ch-system-glibc pt_chown"><primary sortas="b-pt_chown">pt_chown</primary></indexterm>
  364. </listitem>
  365. </varlistentry>
  366. <varlistentry id="rpcgen">
  367. <term><command>rpcgen</command></term>
  368. <listitem>
  369. <para>Generates C code to implement the Remote Procecure Call (RPC) protocol</para>
  370. <indexterm zone="ch-system-glibc rpcgen"><primary sortas="b-rpcgen">rpcgen</primary></indexterm>
  371. </listitem>
  372. </varlistentry>
  373. <varlistentry id="rpcinfo">
  374. <term><command>rpcinfo</command></term>
  375. <listitem>
  376. <para>Makes an RPC call to an RPC server</para>
  377. <indexterm zone="ch-system-glibc rpcinfo"><primary sortas="b-rpcinfo">rpcinfo</primary></indexterm>
  378. </listitem>
  379. </varlistentry>
  380. <varlistentry id="sln">
  381. <term><command>sln</command></term>
  382. <listitem>
  383. <para>A statically linked <command>ln</command> program</para>
  384. <indexterm zone="ch-system-glibc sln"><primary sortas="b-sln">sln</primary></indexterm>
  385. </listitem>
  386. </varlistentry>
  387. <varlistentry id="sprof">
  388. <term><command>sprof</command></term>
  389. <listitem>
  390. <para>Reads and displays shared object profiling data</para>
  391. <indexterm zone="ch-system-glibc sprof"><primary sortas="b-sprof">sprof</primary></indexterm>
  392. </listitem>
  393. </varlistentry>
  394. <varlistentry id="tzselect">
  395. <term><command>tzselect</command></term>
  396. <listitem>
  397. <para>Asks the user about the location of the
  398. system and reports the corresponding time zone description</para>
  399. <indexterm zone="ch-system-glibc tzselect"><primary sortas="b-tzselect">tzselect</primary></indexterm>
  400. </listitem>
  401. </varlistentry>
  402. <varlistentry id="xtrace">
  403. <term><command>xtrace</command></term>
  404. <listitem>
  405. <para>Traces the execution of a program by
  406. printing the currently executed function</para>
  407. <indexterm zone="ch-system-glibc xtrace"><primary sortas="b-xtrace">xtrace</primary></indexterm>
  408. </listitem>
  409. </varlistentry>
  410. <varlistentry id="zdump">
  411. <term><command>zdump</command></term>
  412. <listitem>
  413. <para>The time zone dumper</para>
  414. <indexterm zone="ch-system-glibc zdump"><primary sortas="b-zdump">zdump</primary></indexterm>
  415. </listitem>
  416. </varlistentry>
  417. <varlistentry id="zic">
  418. <term><command>zic</command></term>
  419. <listitem>
  420. <para>The time zone compiler</para>
  421. <indexterm zone="ch-system-glibc zic"><primary sortas="b-zic">zic</primary></indexterm>
  422. </listitem>
  423. </varlistentry>
  424. <varlistentry id="ld.so">
  425. <term><filename class="libraryfile">ld.so</filename></term>
  426. <listitem>
  427. <para>The helper program for shared library executables</para>
  428. <indexterm zone="ch-system-glibc ld.so"><primary sortas="c-ld.so">ld.so</primary></indexterm>
  429. </listitem>
  430. </varlistentry>
  431. <varlistentry id="libBrokenLocale">
  432. <term><filename class="libraryfile">libBrokenLocale</filename></term>
  433. <listitem>
  434. <para>Used internally by Glibc as a gross hack to get broken programs
  435. (e.g., some Motif applications) running. See comments in
  436. <filename>glibc-&glibc-version;/locale/broken_cur_max.c</filename> for more
  437. information</para>
  438. <indexterm zone="ch-system-glibc libBrokenLocale"><primary sortas="c-libBrokenLocale">libBrokenLocale</primary></indexterm>
  439. </listitem>
  440. </varlistentry>
  441. <varlistentry id="libSegFault">
  442. <term><filename class="libraryfile">libSegFault</filename></term>
  443. <listitem>
  444. <para>The segmentation fault signal handler, used by
  445. <command>catchsegv</command></para>
  446. <indexterm zone="ch-system-glibc libSegFault"><primary sortas="c-libSegFault">libSegFault</primary></indexterm>
  447. </listitem>
  448. </varlistentry>
  449. <varlistentry id="libanl">
  450. <term><filename class="libraryfile">libanl</filename></term>
  451. <listitem>
  452. <para>An asynchronous name lookup library</para>
  453. <indexterm zone="ch-system-glibc libanl"><primary sortas="c-libanl">libanl</primary></indexterm>
  454. </listitem>
  455. </varlistentry>
  456. <varlistentry id="libbsd-compat">
  457. <term><filename class="libraryfile">libbsd-compat</filename></term>
  458. <listitem>
  459. <para>Provides the portability needed
  460. in order to run certain Berkey Software Distribution (BSD) programs under Linux</para>
  461. <indexterm zone="ch-system-glibc libbsd-compat"><primary sortas="c-libbsd-compat">libbsd-compat</primary></indexterm>
  462. </listitem>
  463. </varlistentry>
  464. <varlistentry id="libc">
  465. <term><filename class="libraryfile">libc</filename></term>
  466. <listitem>
  467. <para>The main C library</para>
  468. <indexterm zone="ch-system-glibc libc"><primary sortas="c-libc">libc</primary></indexterm>
  469. </listitem>
  470. </varlistentry>
  471. <varlistentry id="libcidn">
  472. <term><filename class="libraryfile">libcidn</filename></term>
  473. <listitem>
  474. <para>Used internally by Glibc for handling internationalized domain names in
  475. the <function>getaddrinfo()</function> function</para>
  476. <indexterm zone="ch-system-glibc libcrypt"><primary sortas="c-libcrypt">libcrypt</primary></indexterm>
  477. </listitem>
  478. </varlistentry>
  479. <varlistentry id="libcrypt">
  480. <term><filename class="libraryfile">libcrypt</filename></term>
  481. <listitem>
  482. <para>The cryptography library</para>
  483. <indexterm zone="ch-system-glibc libcrypt"><primary sortas="c-libcrypt">libcrypt</primary></indexterm>
  484. </listitem>
  485. </varlistentry>
  486. <varlistentry id="libdl">
  487. <term><filename class="libraryfile">libdl</filename></term>
  488. <listitem>
  489. <para>The dynamic linking interface library</para>
  490. <indexterm zone="ch-system-glibc libdl"><primary sortas="c-libdl">libdl</primary></indexterm>
  491. </listitem>
  492. </varlistentry>
  493. <varlistentry id="libg">
  494. <term><filename class="libraryfile">libg</filename></term>
  495. <listitem>
  496. <para>Dummy library containing no functions. Previously was a runtime library
  497. for <command>g++</command></para>
  498. <indexterm zone="ch-system-glibc libg"><primary sortas="c-libg">libg</primary></indexterm>
  499. </listitem>
  500. </varlistentry>
  501. <varlistentry id="libieee">
  502. <term><filename class="libraryfile">libieee</filename></term>
  503. <listitem>
  504. <para>Linking in this module forces error handling rules for math functions as
  505. defined by the Institute of Electrical and Electronic Engineers (IEEE).
  506. The default is POSIX.1 error handling</para>
  507. <indexterm zone="ch-system-glibc libieee"><primary sortas="c-libieee">libieee</primary></indexterm>
  508. </listitem>
  509. </varlistentry>
  510. <varlistentry id="libm">
  511. <term><filename class="libraryfile">libm</filename></term>
  512. <listitem>
  513. <para>The mathematical library</para>
  514. <indexterm zone="ch-system-glibc libm"><primary sortas="c-libm">libm</primary></indexterm>
  515. </listitem>
  516. </varlistentry>
  517. <varlistentry id="libmcheck">
  518. <term><filename class="libraryfile">libmcheck</filename></term>
  519. <listitem>
  520. <para>Turns on memory allocation checking when linked to</para>
  521. <indexterm zone="ch-system-glibc libmcheck"><primary sortas="c-libmcheck">libmcheck</primary></indexterm>
  522. </listitem>
  523. </varlistentry>
  524. <varlistentry id="libmemusage">
  525. <term><filename class="libraryfile">libmemusage</filename></term>
  526. <listitem>
  527. <para>Used by <command>memusage</command> to help collect
  528. information about the memory usage of a program</para>
  529. <indexterm zone="ch-system-glibc libmemusage"><primary sortas="c-libmemusage">libmemusage</primary></indexterm>
  530. </listitem>
  531. </varlistentry>
  532. <varlistentry id="libnsl">
  533. <term><filename class="libraryfile">libnsl</filename></term>
  534. <listitem>
  535. <para>The network services library</para>
  536. <indexterm zone="ch-system-glibc libnsl"><primary sortas="c-libnsl">libnsl</primary></indexterm>
  537. </listitem>
  538. </varlistentry>
  539. <varlistentry id="libnss">
  540. <term><filename class="libraryfile">libnss</filename></term>
  541. <listitem>
  542. <para>The Name Service Switch libraries,
  543. containing functions for resolving host names, user names, group names,
  544. aliases, services, protocols, etc.</para>
  545. <indexterm zone="ch-system-glibc libnss"><primary sortas="c-libnss">libnss</primary></indexterm>
  546. </listitem>
  547. </varlistentry>
  548. <varlistentry id="libpcprofile">
  549. <term><filename class="libraryfile">libpcprofile</filename></term>
  550. <listitem>
  551. <para>Contains profiling functions used
  552. to track the amount of CPU time spent in specific source code lines</para>
  553. <indexterm zone="ch-system-glibc libpcprofile"><primary sortas="c-libpcprofile">libpcprofile</primary></indexterm>
  554. </listitem>
  555. </varlistentry>
  556. <varlistentry id="libpthread">
  557. <term><filename class="libraryfile">libpthread</filename></term>
  558. <listitem>
  559. <para>The POSIX threads library</para>
  560. <indexterm zone="ch-system-glibc libpthread"><primary sortas="c-libpthread">libpthread</primary></indexterm>
  561. </listitem>
  562. </varlistentry>
  563. <varlistentry id="libresolv">
  564. <term><filename class="libraryfile">libresolv</filename></term>
  565. <listitem>
  566. <para>Contains functions for creating,
  567. sending, and interpreting packets to the Internet domain name servers</para>
  568. <indexterm zone="ch-system-glibc libresolv"><primary sortas="c-libresolv">libresolv</primary></indexterm>
  569. </listitem>
  570. </varlistentry>
  571. <varlistentry id="librpcsvc">
  572. <term><filename class="libraryfile">librpcsvc</filename></term>
  573. <listitem>
  574. <para>Contains functions providing miscellaneous RPC services</para>
  575. <indexterm zone="ch-system-glibc librpcsvc"><primary sortas="c-librpcsvc">librpcsvc</primary></indexterm>
  576. </listitem>
  577. </varlistentry>
  578. <varlistentry id="librt">
  579. <term><filename class="libraryfile">librt</filename></term>
  580. <listitem>
  581. <para>Contains functions providing most of the
  582. interfaces specified by the POSIX.1b Realtime Extension</para>
  583. <indexterm zone="ch-system-glibc librt"><primary sortas="c-librt">librt</primary></indexterm>
  584. </listitem>
  585. </varlistentry>
  586. <varlistentry id="libthread_db">
  587. <term><filename class="libraryfile">libthread_db</filename></term>
  588. <listitem>
  589. <para>Contains functions useful for
  590. building debuggers for multi-threaded programs</para>
  591. <indexterm zone="ch-system-glibc libthread_db"><primary sortas="c-libthread_db">libthread_db</primary></indexterm>
  592. </listitem>
  593. </varlistentry>
  594. <varlistentry id="libutil">
  595. <term><filename class="libraryfile">libutil</filename></term>
  596. <listitem>
  597. <para>Contains code for <quote>standard</quote> functions used in many different Unix utilities</para>
  598. <indexterm zone="ch-system-glibc libutil"><primary sortas="c-libutil">libutil</primary></indexterm>
  599. </listitem>
  600. </varlistentry>
  601. </variablelist>
  602. </sect2>
  603. </sect1>