From 1b1acbed6533097e85c80dd85681cac1842d4b79 Mon Sep 17 00:00:00 2001 From: "Thomas Trepl (Moody)" Date: Fri, 14 May 2021 12:54:44 +0200 Subject: [PATCH] Use /usr/lib for libc_cv_rtlddir --- chapter05/glibc.xml | 8 ++++---- chapter08/glibc.xml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml index 8a28e4546..e3d77b8bf 100644 --- a/chapter05/glibc.xml +++ b/chapter05/glibc.xml @@ -81,7 +81,7 @@ cd build --enable-kernel=&min-kernel; \ --with-headers=$LFS/usr/include \ libc_cv_slibdir=/usr/lib \ - libc_cv_rtlddir=/lib + libc_cv_rtlddir=/usr/lib The meaning of the configure options: @@ -123,7 +123,7 @@ cd build - libc_cv_rtlddir=/lib + libc_cv_rtlddir=/usr/lib Fix hardcoded path to the executable loader in the ldd script. @@ -193,12 +193,12 @@ cd build - + At this point, it is imperative to stop and ensure that the basic functions (compiling and linking) of the new toolchain are working as diff --git a/chapter08/glibc.xml b/chapter08/glibc.xml index 16f778f0f..2b4c064e5 100644 --- a/chapter08/glibc.xml +++ b/chapter08/glibc.xml @@ -73,7 +73,7 @@ cd build --enable-stack-protector=strong \ --with-headers=/usr/include \ libc_cv_slibdir=/usr/lib \ - libc_cv_rtlddir=/lib + libc_cv_rtlddir=/usr/lib The meaning of the configure options: @@ -122,7 +122,7 @@ cd build - libc_cv_rtlddir=/lib + libc_cv_rtlddir=/usr/lib Fix hardcoded path to the executable loader in the ldd script. @@ -223,12 +223,12 @@ esac Install the package: make install - + Install the configuration file and runtime directory for nscd: