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