浏览代码

Definitly create /etc/ld.so.conf.d when doing ML, otherwise it's optional (because of role=nodump, the command appers in book but not in profiled xml

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11784 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Thomas Trepl 5 年之前
父节点
当前提交
d92249e3f4
共有 1 个文件被更改,包括 13 次插入2 次删除
  1. 13 2
      chapter06/glibc.xml

+ 13 - 2
chapter06/glibc.xml

@@ -476,12 +476,23 @@ unset ZONEINFO</userinput></screen>
 </literal>
 EOF</userinput></screen>
 
-  <para>If desired, the dynamic loader can also search a directory and
+  <para arch="default">If desired, the dynamic loader can also search a directory and
   include the contents of files found there.  Generally the files in
   this include directory are one line specifying the desired library path.
   To add this capability run the following commands:</para>
 
-<screen role="nodump"><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; "EOF"
+<screen role="nodump" arch="default"><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; "EOF"
+<literal># Add an include directory
+include /etc/ld.so.conf.d/*.conf
+</literal>
+EOF
+mkdir -pv /etc/ld.so.conf.d</userinput></screen>
+
+  <para arch="ml_32,ml_x32,ml_all">The dynamic loader can also search a directory and
+  include the contents of files found there.  Generally the files in
+  this include directory are one line specifying the desired library path.
+  To add this capability run the following commands:</para>
+<screen arch="ml_32,ml_x32,ml_all"><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; "EOF"
 <literal># Add an include directory
 include /etc/ld.so.conf.d/*.conf
 </literal>