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
This commit is contained in:
Thomas Trepl 2020-03-15 13:23:25 +00:00 committed by Xℹ Ruoyao
parent c7e74d668b
commit d4248df09c
No known key found for this signature in database
GPG Key ID: D95E4716CCBB34DC

View File

@ -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>