From 6989d33e7fe63b741c1410037b68ac36d90226cf Mon Sep 17 00:00:00 2001 From: Thomas Trepl Date: Sun, 15 Mar 2020 13:23:25 +0000 Subject: [PATCH] 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 --- chapter06/glibc.xml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml index d1e8086b2..75d771919 100644 --- a/chapter06/glibc.xml +++ b/chapter06/glibc.xml @@ -476,12 +476,23 @@ unset ZONEINFO EOF - If desired, the dynamic loader can also search a directory and + 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: -cat >> /etc/ld.so.conf << "EOF" +cat >> /etc/ld.so.conf << "EOF" +# Add an include directory +include /etc/ld.so.conf.d/*.conf + +EOF +mkdir -pv /etc/ld.so.conf.d + + 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: +cat >> /etc/ld.so.conf << "EOF" # Add an include directory include /etc/ld.so.conf.d/*.conf