diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2011-04-13 03:42:50 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2011-04-13 03:42:50 +0000 |
commit | 50f648b0eeb0297da4075efc596b4d553f927aa1 (patch) | |
tree | c9c76cea37929d6d85d813bf29a89740f75ab4a9 /chapter06 | |
parent | 4df263334fddf3b0a802474f7c12669dc58dd83e (diff) |
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
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/glibc.xml | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml index 7c8159272..9745908f5 100644 --- a/chapter06/glibc.xml +++ b/chapter06/glibc.xml @@ -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"> |