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