Ignore:
Timestamp:
Aug 24, 2008, 6:44:45 AM (16 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
3d25b3b
Parents:
23ec9c0
Message:

Update the path to ld.so when configuring Glibc for each arch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/x86_64-64/glibc.xml

    r23ec9c0 r3998188  
    158158  xpointer="xpointer(id('conf-glibc'))"/>
    159159
    160   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    161   href="../common/glibc.xml"
    162   xpointer="xpointer(id('conf-ld'))"/>
     160  <sect2 id="conf-ld" role="configuration">
     161    <title>Configuring The Dynamic Loader</title>
     162
     163    <indexterm zone="conf-ld">
     164      <primary sortas="e-/etc/ld.so.conf">/etc/ld.so.conf</primary>
     165    </indexterm>
     166
     167    <para>By default, the dynamic loader (<filename
     168    class="libraryfile">/lib/ld-linux-x86-64.so.2</filename>) searches through
     169    <filename class="directory">/lib</filename> and <filename
     170    class="directory">/usr/lib</filename> for dynamic libraries that are
     171    needed by programs as they are run. However, if there are libraries in
     172    directories other than <filename class="directory">/lib</filename> and
     173    <filename class="directory">/usr/lib</filename>, these need to be
     174    added to the <filename>/etc/ld.so.conf</filename> file in order
     175    for the dynamic loader to find them. Two directories that are commonly
     176    known to contain additional libraries are <filename
     177    class="directory">/usr/local/lib</filename> and <filename
     178    class="directory">/opt/lib</filename>, so add those directories to the
     179    dynamic loader's search path.</para>
     180
     181    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     182    href="../common/glibc.xml"
     183    xpointer="xpointer(//*[@os='ld-b'])"/>
     184
     185    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     186    href="../common/glibc.xml"
     187    xpointer="xpointer(//*[@os='ld-c'])"/>
     188
     189  </sect2>
    163190
    164191  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
Note: See TracChangeset for help on using the changeset viewer.