aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/file.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/file.xml')
-rw-r--r--chapter06/file.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/chapter06/file.xml b/chapter06/file.xml
index dc6024177..b44a639be 100644
--- a/chapter06/file.xml
+++ b/chapter06/file.xml
@@ -90,6 +90,12 @@ popd</userinput></screen>
<screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen>
+ <para>Move a shared library into its final location in the LFS system,
+ and recreate the symlink for it:</para>
+
+<screen><userinput remap="install">mv -v $LFS/usr/lib/libmagic.so.* $LFS/lib
+ln -sfv ../../lib/$(readlink /usr/lib/libmagic.so) $LFS/usr/lib/libmagic.so</userinput></screen>
+
</sect2>
<sect2 role="content">