aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/shadow.xml
diff options
context:
space:
mode:
authorJim Gifford <jim@linuxfromscratch.org>2004-12-06 18:24:50 +0000
committerJim Gifford <jim@linuxfromscratch.org>2004-12-06 18:24:50 +0000
commit711166645184366f4d0b09b34cbbeebae9ae5cd3 (patch)
tree5b2bd518c7f1aa9608f315821daedb0be7f2c690 /chapter06/shadow.xml
parent016b2bbd5d640c99ce05d9739419a2afea946c60 (diff)
Updates to findutils, util-linux, and iproute2. More library changes
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4359 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/shadow.xml')
-rw-r--r--chapter06/shadow.xml9
1 files changed, 5 insertions, 4 deletions
diff --git a/chapter06/shadow.xml b/chapter06/shadow.xml
index a753e7ce3..c469fb3e8 100644
--- a/chapter06/shadow.xml
+++ b/chapter06/shadow.xml
@@ -31,7 +31,7 @@ Diffutils, GCC, Gettext, Glibc, Grep, Make, Sed</seg></seglistitem>
<para>Prepare Shadow for compilation:</para>
-<screen><userinput>./configure --libdir=/usr/lib --enable-shared</userinput></screen>
+<screen><userinput>./configure --libdir=/lib --enable-shared</userinput></screen>
<para>Compile the package:</para>
@@ -64,14 +64,15 @@ sed -i -e 's@#MD5_CRYPT_ENAB.no@MD5_CRYPT_ENAB yes@' \
<screen><userinput>mv /usr/bin/passwd /bin</userinput></screen>
-<para>And move Shadow's dynamic libraries to a more appropriate location:</para>
+<para>And move Shadow's static library to a more appropriate location:</para>
-<screen><userinput>mv /usr/lib/libshadow.so.0* /lib</userinput></screen>
+<screen><userinput>mv /lib/libshadow.*a /usr/lib</userinput></screen>
<para>As some packages expect to find the just-moved libraries in
<filename class="directory">/usr/lib</filename>, create the following symlinks:</para>
-<screen><userinput>ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so</userinput></screen>
+<screen><userinput>rm /usr/lib/libshadow.so
+ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so</userinput></screen>
<para>The <parameter>-D</parameter> option of the <command>useradd</command> program requires this
directory for it to work properly:</para>