From 8b3e1412e20a850925881f819b20ca37b83603aa Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Mon, 26 Feb 2018 20:58:02 +0000 Subject: Update to less-530. Add an explanation of LIBRARY_PATH and LD_LIBRARY_PATH i used in the eudev instructions. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11378 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/eudev.xml | 16 ++++++---------- chapter06/libpipeline.xml | 7 +++++-- 2 files changed, 11 insertions(+), 12 deletions(-) (limited to 'chapter06') diff --git a/chapter06/eudev.xml b/chapter06/eudev.xml index 0c6032a64..28d85f2c3 100644 --- a/chapter06/eudev.xml +++ b/chapter06/eudev.xml @@ -71,20 +71,16 @@ EOF --disable-static \ --config-cache - - Compile the package: LIBRARY_PATH=/tools/lib make +The LIBRARY_PATH variable here and the LD_LIBRARY_PATH variable +below are needed to allow the use of libraries that were installed in /tools, +but have not yet been installed in the main system. LIBRARY_PATH is +used to find libraries during the linking process. LD_LIBRARY_PATH is +used to find libraries during program execution. + Create some directories now that are needed for tests, but will also be used as a part of installation: diff --git a/chapter06/libpipeline.xml b/chapter06/libpipeline.xml index 117b57158..2ad05deee 100644 --- a/chapter06/libpipeline.xml +++ b/chapter06/libpipeline.xml @@ -43,7 +43,10 @@ Prepare Libpipeline for compilation: -PKG_CONFIG_PATH=/tools/lib/pkgconfig ./configure --prefix=/usr +./configure --prefix=/usr + + Compile the package: make -- cgit v1.2.3-54-g00ecf