From a5ad6a896c244cdb0745c5828361771eb9166b75 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Mon, 13 Jan 2020 18:27:40 +0000 Subject: [PATCH] Clean up zstd installation git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11729 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- appendices/dependencies.xml | 2 +- chapter01/changelog.xml | 10 ++++++++++ chapter06/zstd.xml | 9 +++++++++ general.ent | 6 +++--- 4 files changed, 23 insertions(+), 4 deletions(-) diff --git a/appendices/dependencies.xml b/appendices/dependencies.xml index efc7c6e1b..cb316cc84 100644 --- a/appendices/dependencies.xml +++ b/appendices/dependencies.xml @@ -2786,7 +2786,7 @@ &before; - Tar + None diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 2faf42ec7..e309c6a83 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -42,6 +42,16 @@ or as appropriate for the entry or if needed the entire day's listitem. --> + + 2020-01-13 + + + [bdubbs] - Ensure zstd libraries are installed in the correct + location. + + + + 2020-01-12 diff --git a/chapter06/zstd.xml b/chapter06/zstd.xml index 3b73a9f5d..71e7794b6 100644 --- a/chapter06/zstd.xml +++ b/chapter06/zstd.xml @@ -52,6 +52,15 @@ make prefix=/usr install + Remove the static library and move the shared library to + /lib. Also, the + .so file in + /usr/lib will need to be recreated: + +rm -v /usr/lib/libzstd.a +mv -v /usr/lib/libzstd.so.* /lib +ln -sfv ../../lib/$(readlink /usr/lib/libzstd.so) /usr/lib/libzstd.so + diff --git a/general.ent b/general.ent index c9451df78..e521f7ae1 100644 --- a/general.ent +++ b/general.ent @@ -1,13 +1,13 @@ - + - + - +