Changeset 8d557ad for chapter08/file.xml


Ignore:
Timestamp:
03/28/2021 03:11:25 PM (3 years ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
e342298
Parents:
2ec1c15
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/file.xml

    r2ec1c15 r8d557ad  
    5858<screen><userinput remap="install">make install</userinput></screen>
    5959
     60    <para><command>/bin/more</command> from util-linux will link to
     61    <filename class="libraryfile">libmagic.so</filename>, so the shared
     62    library should be moved to <filename class="directory">/lib</filename>,
     63    and as a result the
     64    <filename class="extension">.so</filename> file in
     65    <filename class="directory">/usr/lib</filename> will need to be recreated:</para>
     66
     67<screen><userinput remap="install">mv -v /usr/lib/libmagic.so.* /lib
     68ln -sfv ../../lib/$(readlink /usr/lib/libmagic.so) /usr/lib/libmagic.so</userinput></screen>
     69
    6070  </sect2>
    6171
Note: See TracChangeset for help on using the changeset viewer.