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/glibc-64bit.xml

    r23ec9c0 r3998188  
    118118  xpointer="xpointer(id('conf-glibc'))"/>
    119119
    120   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    121   href="../multilib/glibc-64bit.xml"
    122   xpointer="xpointer(id('conf-ld'))"/>
     120  <sect2 id="conf-ld" role="configuration">
     121    <title>Configuring The Dynamic Loader</title>
     122
     123    <indexterm zone="conf-ld">
     124      <primary sortas="e-/etc/ld.so.conf">/etc/ld.so.conf</primary>
     125    </indexterm>
     126
     127    <para>By default, the dynamic loader (<filename
     128    class="libraryfile">/lib/ld-linux.so.2</filename> for 32bit executables and
     129    <filename class="libraryfile">/lib64/ld-linux-x86-64.so.2</filename> for
     130    64bit executables) searches through
     131    <filename class="directory">/lib</filename>,
     132    <filename class="directory">/lib64</filename>,
     133    <filename class="directory">/usr/lib</filename>,
     134    and <filename class="directory">/usr/lib64</filename> for dynamic
     135    libraries that are needed by programs as they are run. However, if
     136    there are libraries in directories other than these, they need to be
     137    added to the <filename>/etc/ld.so.conf</filename> file in order
     138    for the dynamic loader to find them. Some directories that are commonly
     139    known to contain additional libraries are
     140    <filename class="directory">/usr/local/lib</filename>,
     141    <filename class="directory">/usr/local/lib64</filename>,
     142    <filename class="directory">/opt/lib</filename>,
     143    and <filename class="directory">/opt/lib64</filename>,
     144    so add those directories to the dynamic loader's search path.</para>
     145
     146    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     147    href="../multilib/glibc-64bit.xml"
     148    xpointer="xpointer(//*[@os='ld-b'])"/>
     149
     150    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     151    href="../multilib/glibc-64bit.xml"
     152    xpointer="xpointer(//*[@os='ld-c'])"/>
     153
     154  </sect2>
    123155
    124156  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
Note: See TracChangeset for help on using the changeset viewer.