From a98a31a0c92e78532e7b9b9f353b7a2723801a42 Mon Sep 17 00:00:00 2001 From: DJ Lucas Date: Sat, 13 Jan 2018 05:43:45 +0000 Subject: [PATCH] Simplify and correct Libelf installation. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11351 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 11 ++++++++++- chapter06/libelf.xml | 15 +++++---------- general.ent | 6 +++--- packages.ent | 2 +- 4 files changed, 19 insertions(+), 15 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index baa982403..17abe580d 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -42,11 +42,20 @@ or as appropriate for the entry or if needed the entire day's listitem. --> + + 2018-01-13 + + + [dj] - Simplify and correct Libelf instructions. + + + + 2018-01-12 - [dj] - Add Libelf (Elfutils) 0.107. + [dj] - Add Libelf (Elfutils) 0.170. [dj] - Update to Linux-4.14.13. Fixes diff --git a/chapter06/libelf.xml b/chapter06/libelf.xml index 2b231198c..56ec31d96 100644 --- a/chapter06/libelf.xml +++ b/chapter06/libelf.xml @@ -6,10 +6,10 @@ ]> - + - elfutils + libelf &elfutils-version;
&elfutils-url;
@@ -54,15 +54,10 @@ To test the results, issue make check. - Install the needed libraries: + Install only Libelf: -install -vm755 libelf/libelf.so /usr/lib/libelf-0.170.so -install -vm644 config/libelf.pc /usr/lib/pkgconfig -install -vm644 libelf/libelf.h /usr/include -install -vm644 libelf/gelf.h /usr/include -install -vm644 libelf/nlist.h /usr/include -ln -sf libelf-0.170.so /usr/lib/libelf-1.so -ln -sf libelf-0.170.so /usr/lib/libelf.so +make -C libelf install +install -vm644 config/libelf.pc /usr/lib/pkgconfig diff --git a/general.ent b/general.ent index 1c2ca1227..9ef6f260c 100644 --- a/general.ent +++ b/general.ent @@ -1,13 +1,13 @@ - + - + - + diff --git a/packages.ent b/packages.ent index f3a6e6219..e3bcdf8c5 100644 --- a/packages.ent +++ b/packages.ent @@ -146,7 +146,7 @@ - +