mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-18 21:17:38 +00:00
Added optional instructions that explains how to add
/etc/ld.so.conf.d as an include directory for the loader git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9496 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
4df263334f
commit
50f648b0ee
@ -39,6 +39,11 @@
|
||||
<listitem>
|
||||
<para>2011-04-12</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Added optional instructions to allow a user
|
||||
to use an include directory to supplement ld.so.conf. Fixes
|
||||
<ulink url="&lfs-ticket-root;2843">#2843</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Rewrote General Compilation Instructions using
|
||||
better docbook structures and clarified a couple of points. Fixes
|
||||
|
@ -370,13 +370,23 @@ EOF</userinput></screen>
|
||||
|
||||
<screen><userinput>cat > /etc/ld.so.conf << "EOF"
|
||||
<literal># Begin /etc/ld.so.conf
|
||||
|
||||
/usr/local/lib
|
||||
/opt/lib
|
||||
|
||||
# End /etc/ld.so.conf</literal>
|
||||
</literal>
|
||||
EOF</userinput></screen>
|
||||
|
||||
<para>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 >> /etc/ld.so.conf << "EOF"
|
||||
<literal># Add an include directory
|
||||
include /etc/ld.so.conf.d/*.conf
|
||||
</literal>
|
||||
EOF
|
||||
mkdir /etc/ld.so.conf.d</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 id="contents-glibc" role="content">
|
||||
|
Loading…
Reference in New Issue
Block a user