aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/file.xml
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@mengyan1223.wang>2021-03-28 15:11:25 +0000
committerXi Ruoyao <xry111@mengyan1223.wang>2021-03-28 15:11:25 +0000
commit8d557ad89d660aba47a9932e28cc1e65666da1fe (patch)
tree46a08ddaad44b1d92625663d0d6e495f94caa192 /chapter08/file.xml
parent2ec1c1574a40ab987ee9b1e967d05ba717ff4c22 (diff)
file: secure the URL, add libseccomp as external dep, and move libmagic.so to /lib
/bin/more links to libmagic.so (found on gimli and rivendell with a script) git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12174 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter08/file.xml')
-rw-r--r--chapter08/file.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/chapter08/file.xml b/chapter08/file.xml
index eb9f41a2b..326f99eeb 100644
--- a/chapter08/file.xml
+++ b/chapter08/file.xml
@@ -57,6 +57,16 @@
<screen><userinput remap="install">make install</userinput></screen>
+ <para><command>/bin/more</command> from util-linux will link to
+ <filename class="libraryfile">libmagic.so</filename>, so the shared
+ library should be moved to <filename class="directory">/lib</filename>,
+ and as a result the
+ <filename class="extension">.so</filename> file in
+ <filename class="directory">/usr/lib</filename> will need to be recreated:</para>
+
+<screen><userinput remap="install">mv -v /usr/lib/libmagic.so.* /lib
+ln -sfv ../../lib/$(readlink /usr/lib/libmagic.so) /usr/lib/libmagic.so</userinput></screen>
+
</sect2>