diff options
-rw-r--r-- | chapter04/creatingminlayout.xml | 10 | ||||
-rw-r--r-- | chapter05/glibc.xml | 9 | ||||
-rw-r--r-- | chapter06/bash.xml | 4 | ||||
-rw-r--r-- | chapter06/coreutils.xml | 4 | ||||
-rw-r--r-- | chapter06/file.xml | 6 | ||||
-rw-r--r-- | chapter06/findutils.xml | 5 | ||||
-rw-r--r-- | chapter06/gzip.xml | 4 | ||||
-rw-r--r-- | chapter06/ncurses.xml | 12 | ||||
-rw-r--r-- | chapter06/xz.xml | 6 | ||||
-rw-r--r-- | chapter08/acl.xml | 8 | ||||
-rw-r--r-- | chapter08/attr.xml | 8 | ||||
-rw-r--r-- | chapter08/bash.xml | 5 | ||||
-rw-r--r-- | chapter08/bzip2.xml | 8 | ||||
-rw-r--r-- | chapter08/coreutils.xml | 13 | ||||
-rw-r--r-- | chapter08/dbus.xml | 8 | ||||
-rw-r--r-- | chapter08/file.xml | 10 | ||||
-rw-r--r-- | chapter08/findutils.xml | 10 | ||||
-rw-r--r-- | chapter08/gzip.xml | 4 | ||||
-rw-r--r-- | chapter08/inetutils.xml | 10 | ||||
-rw-r--r-- | chapter08/libcap.xml | 8 | ||||
-rw-r--r-- | chapter08/ncurses.xml | 11 | ||||
-rw-r--r-- | chapter08/procps.xml | 6 | ||||
-rw-r--r-- | chapter08/psmisc.xml | 6 | ||||
-rw-r--r-- | chapter08/readline.xml | 7 | ||||
-rw-r--r-- | chapter08/shadow.xml | 11 | ||||
-rw-r--r-- | chapter08/xz.xml | 7 | ||||
-rw-r--r-- | chapter08/zlib.xml | 8 | ||||
-rw-r--r-- | chapter08/zstd.xml | 9 |
28 files changed, 4 insertions, 213 deletions
diff --git a/chapter04/creatingminlayout.xml b/chapter04/creatingminlayout.xml index fec607d97..50c431324 100644 --- a/chapter04/creatingminlayout.xml +++ b/chapter04/creatingminlayout.xml @@ -20,13 +20,7 @@ <para>Create the required directory layout by running the following as <systemitem class="username">root</systemitem>:</para> -<screen revision="sysv"><userinput>mkdir -pv $LFS/{etc,var} $LFS{/usr,}/{bin,lib,sbin} - -case $(uname -m) in - x86_64) mkdir -pv $LFS/lib64 ;; -esac</userinput></screen> - -<screen revision="systemd"><userinput>mkdir -pv $LFS/{etc,var} $LFS/usr/{bin,lib,sbin} +<screen><userinput>mkdir -pv $LFS/{etc,var} $LFS/usr/{bin,lib,sbin} for i in bin lib sbin; do ln -sv usr/$i $LFS/$i @@ -36,7 +30,7 @@ case $(uname -m) in x86_64) mkdir -pv $LFS/lib64 ;; esac</userinput></screen> - <note revision="systemd"> + <note> <para> The above command is correct. The <command>ln</command> command has a few syntactic versions, so be sure to check diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml index 5edb2402f..ec22b8069 100644 --- a/chapter05/glibc.xml +++ b/chapter05/glibc.xml @@ -55,15 +55,6 @@ ;; esac</userinput></screen> - <note revision="sysv"> - <para> - The above command is correct. The <command>ln</command> command has - a few syntactic versions, so be sure to check - <command>info coreutils ln</command> and <filename>ln(1)</filename> - before reporting what you may think is an error. - </para> - </note> - <para>Some of the Glibc programs use the non-FHS compliant <filename class="directory">/var/db</filename> directory to store their runtime data. Apply the following patch to make such programs store their diff --git a/chapter06/bash.xml b/chapter06/bash.xml index 60a7be1ef..d462d2631 100644 --- a/chapter06/bash.xml +++ b/chapter06/bash.xml @@ -74,10 +74,6 @@ <screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen> - <para revision="sysv">Move the executable to where it is expected:</para> - -<screen revision="sysv"><userinput remap="install">mv $LFS/usr/bin/bash $LFS/bin/bash</userinput></screen> - <para>Make a link for the programs that use <command>sh</command> for a shell:</para> diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml index 19f5c0850..af75e60cf 100644 --- a/chapter06/coreutils.xml +++ b/chapter06/coreutils.xml @@ -83,10 +83,6 @@ not necessary in this temporary environment, we must do so because some programs harcode executable locations:</para> -<screen revision="sysv"><userinput remap="install">mv -v $LFS/usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo} $LFS/bin -mv -v $LFS/usr/bin/{false,ln,ls,mkdir,mknod,mv,pwd,rm} $LFS/bin -mv -v $LFS/usr/bin/{rmdir,stty,sync,true,uname} $LFS/bin -mv -v $LFS/usr/bin/{head,nice,sleep,touch} $LFS/bin</userinput></screen> <screen><userinput remap="install">mv -v $LFS/usr/bin/chroot $LFS/usr/sbin mkdir -pv $LFS/usr/share/man/man8 mv -v $LFS/usr/share/man/man1/chroot.1 $LFS/usr/share/man/man8/chroot.8 diff --git a/chapter06/file.xml b/chapter06/file.xml index a2889e343..dc6024177 100644 --- a/chapter06/file.xml +++ b/chapter06/file.xml @@ -90,12 +90,6 @@ popd</userinput></screen> <screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen> - <para revision="sysv">Move a shared library into its final location in the LFS system, - and recreate the symlink for it:</para> - -<screen revision="sysv"><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"> diff --git a/chapter06/findutils.xml b/chapter06/findutils.xml index c0c9ca89a..ff08a51cd 100644 --- a/chapter06/findutils.xml +++ b/chapter06/findutils.xml @@ -57,11 +57,6 @@ <screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen> - <para revision="sysv">Move the executable to its final expected location:</para> - -<screen revision="sysv"><userinput remap="install">mv -v $LFS/usr/bin/find $LFS/bin -sed -i 's|find:=${BINDIR}|find:=/bin|' $LFS/usr/bin/updatedb</userinput></screen> - </sect2> <sect2 role="content"> diff --git a/chapter06/gzip.xml b/chapter06/gzip.xml index 436a06e28..d75f26928 100644 --- a/chapter06/gzip.xml +++ b/chapter06/gzip.xml @@ -55,10 +55,6 @@ <screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen> - <para revision="sysv">Move the executable to its final expected location:</para> - -<screen revision="sysv"><userinput remap="install">mv -v $LFS/usr/bin/gzip $LFS/bin</userinput></screen> - </sect2> <sect2 role="content"> diff --git a/chapter06/ncurses.xml b/chapter06/ncurses.xml index f39249c7f..79b38e2b4 100644 --- a/chapter06/ncurses.xml +++ b/chapter06/ncurses.xml @@ -148,18 +148,6 @@ echo "INPUT(-lncursesw)" > $LFS/usr/lib/libncurses.so</userinput></screen> </variablelist> - <para revision="sysv">Move the shared libraries to the - <filename class="directory">/lib</filename> directory, where they are - expected to reside:</para> - -<screen revision="sysv"><userinput remap="install">mv -v $LFS/usr/lib/libncursesw.so.6* $LFS/lib</userinput></screen> - - <para revision="sysv">Because the libraries have been moved, one symlink points to - a non-existent file. Recreate it:</para> - -<screen revision="sysv"><userinput remap="install">ln -sfv ../../lib/$(readlink $LFS/usr/lib/libncursesw.so) $LFS/usr/lib/libncursesw.so</userinput></screen> - - </sect2> <sect2 role="content"> diff --git a/chapter06/xz.xml b/chapter06/xz.xml index 161c157bb..e277f9517 100644 --- a/chapter06/xz.xml +++ b/chapter06/xz.xml @@ -59,12 +59,6 @@ <screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen> - <para revision="sysv">Make sure that all essential files are in the correct directory:</para> - -<screen revision="sysv"><userinput remap="install">mv -v $LFS/usr/bin/{lzma,unlzma,lzcat,xz,unxz,xzcat} $LFS/bin -mv -v $LFS/usr/lib/liblzma.so.* $LFS/lib -ln -svf ../../lib/$(readlink $LFS/usr/lib/liblzma.so) $LFS/usr/lib/liblzma.so</userinput></screen> - </sect2> <sect2 role="content"> diff --git a/chapter08/acl.xml b/chapter08/acl.xml index 49e6e89a6..35aa40d4a 100644 --- a/chapter08/acl.xml +++ b/chapter08/acl.xml @@ -69,14 +69,6 @@ <screen><userinput remap="install">make install</userinput></screen> - <para revision="sysv">The shared library needs to 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 revision="sysv"><userinput remap="install">mv -v /usr/lib/libacl.so.* /lib -ln -sfv ../../lib/$(readlink /usr/lib/libacl.so) /usr/lib/libacl.so</userinput></screen> - </sect2> <sect2 id="contents-acl" role="content"> diff --git a/chapter08/attr.xml b/chapter08/attr.xml index 11cec36bb..29d2fb13a 100644 --- a/chapter08/attr.xml +++ b/chapter08/attr.xml @@ -68,14 +68,6 @@ <screen><userinput remap="install">make install</userinput></screen> - <para revision="sysv">The shared library needs to 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 revision="sysv"><userinput remap="install">mv -v /usr/lib/libattr.so.* /lib -ln -sfv ../../lib/$(readlink /usr/lib/libattr.so) /usr/lib/libattr.so</userinput></screen> - </sect2> <sect2 id="contents-attr" role="content"> diff --git a/chapter08/bash.xml b/chapter08/bash.xml index ee8f52467..e4960efcc 100644 --- a/chapter08/bash.xml +++ b/chapter08/bash.xml @@ -88,11 +88,6 @@ EOF</userinput></screen> <screen><userinput remap="install">make install</userinput></screen> - <para revision="sysv">Move the main executable to - <filename class='directory'>/bin</filename>:</para> - -<screen revision="sysv"><userinput remap="install">mv -vf /usr/bin/bash /bin</userinput></screen> - <para>Run the newly compiled <command>bash</command> program (replacing the one that is currently being executed):</para> diff --git a/chapter08/bzip2.xml b/chapter08/bzip2.xml index f132de4e5..17fa946f5 100644 --- a/chapter08/bzip2.xml +++ b/chapter08/bzip2.xml @@ -89,14 +89,6 @@ make clean</userinput></screen> <screen><userinput remap="install">cp -v bzip2-shared /bin/bzip2</userinput></screen> - <para revision="sysv">Adjust some symbolic links, and clean up:</para> - -<screen revision="sysv"><userinput remap="install">cp -av libbz2.so* /lib -ln -sv ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so -rm -v /usr/bin/{bunzip2,bzcat,bzip2} -ln -sv bzip2 /bin/bunzip2 -ln -sv bzip2 /bin/bzcat</userinput></screen> - <para>Remove an useless static library:</para> <screen><userinput remap="install">rm -fv /usr/lib/libbz2.a</userinput></screen> diff --git a/chapter08/coreutils.xml b/chapter08/coreutils.xml index cc7b1d101..c5d2a5032 100644 --- a/chapter08/coreutils.xml +++ b/chapter08/coreutils.xml @@ -142,23 +142,10 @@ FORCE_UNSAFE_CONFIGURE=1 ./configure \ <para>Move programs to the locations specified by the FHS:</para> -<screen revision="sysv"><userinput remap="install">mv -v /usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo} /bin -mv -v /usr/bin/{false,ln,ls,mkdir,mknod,mv,pwd,rm} /bin -mv -v /usr/bin/{rmdir,stty,sync,true,uname} /bin</userinput></screen> - <screen><userinput remap="install">mv -v /usr/bin/chroot /usr/sbin mv -v /usr/share/man/man1/chroot.1 /usr/share/man/man8/chroot.8 sed -i 's/"1"/"8"/' /usr/share/man/man8/chroot.8</userinput></screen> - <para revision="sysv">Some of the scripts in the LFS-Bootscripts package - depend on <command>head</command>, <command>nice</command>, - <command>sleep</command>, and <command>touch</command>. As <filename - class="directory">/usr</filename> may not be available during the early and - late stages of booting, those binaries need to be on the root partition to - maintain FHS compliance:</para> - -<screen revision="sysv"><userinput remap="install">mv -v /usr/bin/{head,nice,sleep,touch} /bin</userinput></screen> - </sect2> <sect2 id="contents-coreutils" role="content"> diff --git a/chapter08/dbus.xml b/chapter08/dbus.xml index 652f3792d..94d348d2d 100644 --- a/chapter08/dbus.xml +++ b/chapter08/dbus.xml @@ -97,14 +97,6 @@ <screen><userinput remap="install">make install</userinput></screen> - <para revision="sysv">The shared library needs to 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 revision="sysv"><userinput remap="install">mv -v /usr/lib/libdbus-1.so.* /lib -ln -sfv ../../lib/$(readlink /usr/lib/libdbus-1.so) /usr/lib/libdbus-1.so</userinput></screen> - <para>Create a symlink so that D-Bus and systemd can use the same <filename>machine-id</filename> file:</para> diff --git a/chapter08/file.xml b/chapter08/file.xml index 23b3dd47f..eb9f41a2b 100644 --- a/chapter08/file.xml +++ b/chapter08/file.xml @@ -57,16 +57,6 @@ <screen><userinput remap="install">make install</userinput></screen> - <para revision="sysv"><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 revision="sysv"><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> diff --git a/chapter08/findutils.xml b/chapter08/findutils.xml index ca54ea80d..092be0c96 100644 --- a/chapter08/findutils.xml +++ b/chapter08/findutils.xml @@ -74,16 +74,6 @@ su tester -c "PATH=$PATH make check"</userinput></screen> <screen><userinput remap="install">make install</userinput></screen> - <para revision="sysv">Some of the scripts in the LFS-Bootscripts package - depend on <command>find</command>. As <filename - class="directory">/usr</filename> may not be available during the early - stages of booting, this program needs to be on the root partition. The - <command>updatedb</command> script also needs to be modified to correct an - explicit path:</para> - -<screen revision="sysv"><userinput remap="install">mv -v /usr/bin/find /bin -sed -i 's|find:=${BINDIR}|find:=/bin|' /usr/bin/updatedb</userinput></screen> - </sect2> <sect2 id="contents-findutils" role="content"> diff --git a/chapter08/gzip.xml b/chapter08/gzip.xml index 5c662576b..afbfa36a0 100644 --- a/chapter08/gzip.xml +++ b/chapter08/gzip.xml @@ -57,10 +57,6 @@ <screen><userinput remap="install">make install</userinput></screen> - <para revision="sysv">Move a program that needs to be on the root filesystem:</para> - -<screen revision="sysv"><userinput remap="install">mv -v /usr/bin/gzip /bin</userinput></screen> - </sect2> <sect2 id="contents-gzip" role="content"> diff --git a/chapter08/inetutils.xml b/chapter08/inetutils.xml index 1868af60b..b79a0b782 100644 --- a/chapter08/inetutils.xml +++ b/chapter08/inetutils.xml @@ -114,15 +114,9 @@ <screen><userinput remap="install">make install</userinput></screen> - <para revision="sysv">Move some programs so they are available if <filename - class='directory'>/usr</filename> is not accessible:</para> + <para>Move a program to the proper location:</para> -<screen revision="sysv"><userinput remap="install">mv -v /usr/bin/{hostname,ping,ping6,traceroute} /bin -mv -v /usr/bin/ifconfig /sbin</userinput></screen> - - <para revision="systemd">Move a program to the proper location:</para> - -<screen revision="systemd"><userinput remap="install">mv -v /{,s}bin/ifconfig</userinput></screen> +<screen><userinput remap="install">mv -v /{,s}bin/ifconfig</userinput></screen> </sect2> diff --git a/chapter08/libcap.xml b/chapter08/libcap.xml index 937f2a644..627cb75cc 100644 --- a/chapter08/libcap.xml +++ b/chapter08/libcap.xml @@ -73,14 +73,6 @@ <screen><userinput remap="install">make prefix=/usr lib=lib install</userinput></screen> - <para revision="sysv">Make sure the essential libraries are in - the correct directory:</para> - -<screen revision="sysv"><userinput remap="install">for libname in cap psx; do - mv -v /usr/lib/lib${libname}.so.* /lib - ln -sfv ../../lib/lib${libname}.so.2 /usr/lib/lib${libname}.so -done</userinput></screen> - <para>Adjust the permission of the shared libraries:</para> <screen><userinput remap="install">chmod -v 755 /lib/lib{cap,psx}.so.&libcap-version;</userinput></screen> diff --git a/chapter08/ncurses.xml b/chapter08/ncurses.xml index 8af0e3ed3..3fbca0c3c 100644 --- a/chapter08/ncurses.xml +++ b/chapter08/ncurses.xml @@ -100,17 +100,6 @@ <screen><userinput remap="install">make install</userinput></screen> - <para revision="sysv">Move the shared libraries to the - <filename class="directory">/lib</filename> directory, where they are - expected to reside:</para> - -<screen revision="sysv"><userinput remap="install">mv -v /usr/lib/libncursesw.so.6* /lib</userinput></screen> - - <para revision="sysv">Because the libraries have been moved, one symlink points to - a non-existent file. Recreate it:</para> - -<screen revision="sysv"><userinput remap="install">ln -sfv ../../lib/$(readlink /usr/lib/libncursesw.so) /usr/lib/libncursesw.so</userinput></screen> - <para>Many applications still expect the linker to be able to find non-wide-character Ncurses libraries. Trick such applications into linking with wide-character libraries by means of symlinks and linker scripts:</para> diff --git a/chapter08/procps.xml b/chapter08/procps.xml index 784298692..60c9f0c48 100644 --- a/chapter08/procps.xml +++ b/chapter08/procps.xml @@ -102,12 +102,6 @@ make check</userinput></screen> <screen><userinput remap="install">make install</userinput></screen> - <para revision="sysv">Finally, move essential libraries to a location that can be found - if <filename class="directory">/usr</filename> is not mounted.</para> - -<screen revision="sysv"><userinput remap="install">mv -v /usr/lib/libprocps.so.* /lib -ln -sfv ../../lib/$(readlink /usr/lib/libprocps.so) /usr/lib/libprocps.so</userinput></screen> - </sect2> <sect2 id="contents-procps" role="content"> diff --git a/chapter08/psmisc.xml b/chapter08/psmisc.xml index 1ef365fc7..6a826202d 100644 --- a/chapter08/psmisc.xml +++ b/chapter08/psmisc.xml @@ -55,12 +55,6 @@ <screen><userinput remap="install">make install</userinput></screen> - <para revision="sysv">Finally, move the <command>killall</command> and <command>fuser</command> - programs to the location specified by the FHS:</para> - -<screen revision="sysv"><userinput remap="install">mv -v /usr/bin/fuser /bin -mv -v /usr/bin/killall /bin</userinput></screen> - </sect2> <sect2 id="contents-psmisc" role="content"> diff --git a/chapter08/readline.xml b/chapter08/readline.xml index 0fc9ee66d..72608ac94 100644 --- a/chapter08/readline.xml +++ b/chapter08/readline.xml @@ -94,13 +94,6 @@ sed -i '/{OLDSUFF}/c:' support/shlib-install</userinput></screen> <screen><userinput remap="install">make SHLIB_LIBS="-lncursesw" install</userinput></screen> - <para revision="sysv">Now move the dynamic libraries to a more appropriate location - and fix up symbolic links:</para> - -<screen revision="sysv"><userinput remap="install">mv -v /usr/lib/lib{readline,history}.so.* /lib -ln -sfv ../../lib/$(readlink /usr/lib/libreadline.so) /usr/lib/libreadline.so -ln -sfv ../../lib/$(readlink /usr/lib/libhistory.so ) /usr/lib/libhistory.so</userinput></screen> - <para>If desired, install the documentation:</para> <screen><userinput remap="install">install -v -m644 doc/*.{ps,pdf,html,dvi} /usr/share/doc/readline-&readline-version;</userinput></screen> diff --git a/chapter08/shadow.xml b/chapter08/shadow.xml index 3ccbfbb58..354fcbdff 100644 --- a/chapter08/shadow.xml +++ b/chapter08/shadow.xml @@ -118,17 +118,6 @@ find man -name Makefile.in -exec sed -i 's/passwd\.5 / /' {} \;</userinput></s <para>Install the package:</para> <screen><userinput remap="install">make install</userinput></screen> - <!-- - <para>Move a misplaced program to its proper location:</para> - -<screen><userinput remap="install">mv -v /usr/bin/passwd /bin</userinput></screen> - --> - - <!-- <para>Move Shadow's libraries to more appropriate locations:</para> - -<screen><userinput remap="install">mv -v /lib/libshadow.*a /usr/lib -rm -v /lib/libshadow.so -ln -sfv ../../lib/libshadow.so.0 /usr/lib/libshadow.so</userinput></screen> --> </sect2> diff --git a/chapter08/xz.xml b/chapter08/xz.xml index 96c958855..7f723482a 100644 --- a/chapter08/xz.xml +++ b/chapter08/xz.xml @@ -62,13 +62,6 @@ <screen><userinput remap="install">make install</userinput></screen> - <para revision="sysv">Make sure that all essential files are in the - correct directory:</para> - -<screen revision="sysv"><userinput remap="install">mv -v /usr/bin/{lzma,unlzma,lzcat,xz,unxz,xzcat} /bin -mv -v /usr/lib/liblzma.so.* /lib -ln -svf ../../lib/$(readlink /usr/lib/liblzma.so) /usr/lib/liblzma.so</userinput></screen> - </sect2> <sect2 id="contents-xz" role="content"> diff --git a/chapter08/zlib.xml b/chapter08/zlib.xml index 025f7087c..86b9ad16e 100644 --- a/chapter08/zlib.xml +++ b/chapter08/zlib.xml @@ -57,14 +57,6 @@ <screen><userinput remap="install">make install</userinput></screen> - <para revision="sysv">The shared library needs to 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 revision="sysv"><userinput remap="install">mv -v /usr/lib/libz.so.* /lib -ln -sfv ../../lib/$(readlink /usr/lib/libz.so) /usr/lib/libz.so</userinput></screen> - <para>Remove an useless static library:</para> <screen><userinput remap="install">rm -fv /usr/lib/libz.a</userinput></screen> diff --git a/chapter08/zstd.xml b/chapter08/zstd.xml index 10e959815..8edf9ebad 100644 --- a/chapter08/zstd.xml +++ b/chapter08/zstd.xml @@ -57,15 +57,6 @@ <para>Remove the static library:</para> <screen><userinput remap="install">rm -v /usr/lib/libzstd.a</userinput></screen> - <para revision="sysv">Move the shared library to - <filename class="directory">/lib</filename>. Also, the - <filename class="extension">.so</filename> file in - <filename class="directory">/usr/lib</filename> will need to be recreated:</para> - -<screen revision="sysv"><userinput remap="install"> -mv -v /usr/lib/libzstd.so.* /lib -ln -sfv ../../lib/$(readlink /usr/lib/libzstd.so) /usr/lib/libzstd.so</userinput></screen> - </sect2> <sect2 id="contents-zstd" role="content"> |