Changeset 3998188


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.

Location:
BOOK
Files:
2 added
10 edited

Legend:

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

    r23ec9c0 r3998188  
    268268    </indexterm>
    269269
    270     <para>By default, the dynamic loader (<filename
     270    <para os="ld-a">By default, the dynamic loader (<filename
    271271    class="libraryfile">/lib/ld-linux.so.2</filename>) searches through
    272272    <filename class="directory">/lib</filename> and <filename
     
    282282    dynamic loader's search path.</para>
    283283
    284     <para>Create a new file <filename>/etc/ld.so.conf</filename> by running the
     284    <para os="ld-b">Create a new file <filename>/etc/ld.so.conf</filename> by running the
    285285    following:</para>
    286286
    287 <screen><userinput>cat &gt; /etc/ld.so.conf &lt;&lt; "EOF"
     287<screen os="ld-c"><userinput>cat &gt; /etc/ld.so.conf &lt;&lt; "EOF"
    288288<literal># Begin /etc/ld.so.conf
    289289
  • BOOK/final-system/mips/glibc.xml

    r23ec9c0 r3998188  
    129129
    130130  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    131   href="../common/glibc.xml"
     131  href="../ppc/glibc.xml"
    132132  xpointer="xpointer(id('conf-ld'))"/>
    133133
  • BOOK/final-system/mips64-64/glibc.xml

    r23ec9c0 r3998188  
    151151
    152152  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    153   href="../common/glibc.xml"
     153  href="../mips/glibc.xml"
    154154  xpointer="xpointer(id('conf-ld'))"/>
    155155
  • BOOK/final-system/mips64/glibc-64bit.xml

    r23ec9c0 r3998188  
    137137    </indexterm>
    138138
    139     <para>By default, the dynamic loader (<filename
    140     class="libraryfile">/lib/ld-linux.so.2</filename>) searches through
     139    <para os="ld-a">By default, the dynamic loader (<filename
     140    class="libraryfile">/lib/ld.so.1</filename> for 32bit executables <filename
     141    class="libraryfile">/lib32/ld.so.1</filename> for n32 executables and
     142    <filename class="libraryfile">/lib64/ld.so.1</filename> for 64bit
     143    executables) searches through
    141144    <filename class="directory">/lib</filename> and <filename
    142145    class="directory">/usr/lib</filename> for dynamic libraries that are
     
    155158    so add those directories to the dynamic loader's search path.</para>
    156159
    157     <para>Create a new file <filename>/etc/ld.so.conf</filename> by running the
     160    <para os="ld-b">Create a new file <filename>/etc/ld.so.conf</filename> by running the
    158161    following:</para>
    159162
    160 <screen><userinput>cat &gt; /etc/ld.so.conf &lt;&lt; "EOF"
     163<screen os="ld-c"><userinput>cat &gt; /etc/ld.so.conf &lt;&lt; "EOF"
    161164<literal># Begin /etc/ld.so.conf
    162165
  • BOOK/final-system/multilib/glibc-64bit.xml

    r23ec9c0 r3998188  
    131131    </indexterm>
    132132
    133     <para>By default, the dynamic loader (<filename
    134     class="libraryfile">/lib/ld-linux.so.2</filename>) searches through
     133    <para os="ld-a">By default, the dynamic loader (<filename
     134    class="libraryfile">/lib/ld-linux.so.2</filename> for 32bit executables and
     135    <filename class="libraryfile">/lib64/ld-linux.so.2</filename> for
     136    64bit executables) searches through
    135137    <filename class="directory">/lib</filename>,
    136138    <filename class="directory">/lib64</filename>,
     
    148150    so add those directories to the dynamic loader's search path.</para>
    149151
    150     <para>Create a new file <filename>/etc/ld.so.conf</filename> by running the
     152    <para os="ld-b">Create a new file <filename>/etc/ld.so.conf</filename> by running the
    151153    following:</para>
    152154
    153 <screen><userinput>cat &gt; /etc/ld.so.conf &lt;&lt; "EOF"
     155<screen os="ld-c"><userinput>cat &gt; /etc/ld.so.conf &lt;&lt; "EOF"
    154156<literal># Begin /etc/ld.so.conf
    155157
  • BOOK/final-system/ppc-chapter.xml

    r23ec9c0 r3998188  
    1818  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/linux-headers.xml"/>
    1919  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/man-pages.xml"/>
    20   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/glibc.xml"/>
     20  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc/glibc.xml"/>
    2121  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc/adjusting.xml"/>
    2222  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/>
  • BOOK/final-system/ppc64-chapter.xml

    r23ec9c0 r3998188  
    1919  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/man-pages.xml"/>
    2020  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc64/glibc.xml"/>
    21   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/glibc-64bit.xml"/>
     21  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc64/glibc-64bit.xml"/>
    2222  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc64/adjusting.xml"/>
    2323  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc64/binutils.xml"/>
  • 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"
  • 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"
  • BOOK/introduction/common/changelog.xml

    r23ec9c0 r3998188  
    3636    </listitem>
    3737-->
     38
     39    <listitem>
     40      <para>August 24, 2008</para>
     41      <itemizedlist>
     42        <listitem>
     43          <para>[jciccone] - Update the paths to ld.so when configuring Glibc
     44          for each arch.</para>
     45        </listitem>
     46      </itemizedlist>
     47    </listitem>
    3848
    3949    <listitem>
Note: See TracChangeset for help on using the changeset viewer.