Changeset 3998188 for BOOK/final-system
- Timestamp:
- Aug 24, 2008, 6:44:45 AM (16 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 3d25b3b
- Parents:
- 23ec9c0
- Location:
- BOOK/final-system
- Files:
-
- 2 added
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/glibc.xml
r23ec9c0 r3998188 268 268 </indexterm> 269 269 270 <para >By default, the dynamic loader (<filename270 <para os="ld-a">By default, the dynamic loader (<filename 271 271 class="libraryfile">/lib/ld-linux.so.2</filename>) searches through 272 272 <filename class="directory">/lib</filename> and <filename … … 282 282 dynamic loader's search path.</para> 283 283 284 <para >Create a new file <filename>/etc/ld.so.conf</filename> by running the284 <para os="ld-b">Create a new file <filename>/etc/ld.so.conf</filename> by running the 285 285 following:</para> 286 286 287 <screen ><userinput>cat > /etc/ld.so.conf << "EOF"287 <screen os="ld-c"><userinput>cat > /etc/ld.so.conf << "EOF" 288 288 <literal># Begin /etc/ld.so.conf 289 289 -
BOOK/final-system/mips/glibc.xml
r23ec9c0 r3998188 129 129 130 130 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 131 href="../ common/glibc.xml"131 href="../ppc/glibc.xml" 132 132 xpointer="xpointer(id('conf-ld'))"/> 133 133 -
BOOK/final-system/mips64-64/glibc.xml
r23ec9c0 r3998188 151 151 152 152 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 153 href="../ common/glibc.xml"153 href="../mips/glibc.xml" 154 154 xpointer="xpointer(id('conf-ld'))"/> 155 155 -
BOOK/final-system/mips64/glibc-64bit.xml
r23ec9c0 r3998188 137 137 </indexterm> 138 138 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 141 144 <filename class="directory">/lib</filename> and <filename 142 145 class="directory">/usr/lib</filename> for dynamic libraries that are … … 155 158 so add those directories to the dynamic loader's search path.</para> 156 159 157 <para >Create a new file <filename>/etc/ld.so.conf</filename> by running the160 <para os="ld-b">Create a new file <filename>/etc/ld.so.conf</filename> by running the 158 161 following:</para> 159 162 160 <screen ><userinput>cat > /etc/ld.so.conf << "EOF"163 <screen os="ld-c"><userinput>cat > /etc/ld.so.conf << "EOF" 161 164 <literal># Begin /etc/ld.so.conf 162 165 -
BOOK/final-system/multilib/glibc-64bit.xml
r23ec9c0 r3998188 131 131 </indexterm> 132 132 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 135 137 <filename class="directory">/lib</filename>, 136 138 <filename class="directory">/lib64</filename>, … … 148 150 so add those directories to the dynamic loader's search path.</para> 149 151 150 <para >Create a new file <filename>/etc/ld.so.conf</filename> by running the152 <para os="ld-b">Create a new file <filename>/etc/ld.so.conf</filename> by running the 151 153 following:</para> 152 154 153 <screen ><userinput>cat > /etc/ld.so.conf << "EOF"155 <screen os="ld-c"><userinput>cat > /etc/ld.so.conf << "EOF" 154 156 <literal># Begin /etc/ld.so.conf 155 157 -
BOOK/final-system/ppc-chapter.xml
r23ec9c0 r3998188 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/linux-headers.xml"/> 19 19 <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"/> 21 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc/adjusting.xml"/> 22 22 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/> -
BOOK/final-system/ppc64-chapter.xml
r23ec9c0 r3998188 19 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/man-pages.xml"/> 20 20 <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"/> 22 22 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc64/adjusting.xml"/> 23 23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc64/binutils.xml"/> -
BOOK/final-system/x86_64-64/glibc.xml
r23ec9c0 r3998188 158 158 xpointer="xpointer(id('conf-glibc'))"/> 159 159 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> 163 190 164 191 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/x86_64/glibc-64bit.xml
r23ec9c0 r3998188 118 118 xpointer="xpointer(id('conf-glibc'))"/> 119 119 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> 123 155 124 156 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
Note:
See TracChangeset
for help on using the changeset viewer.