diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml
index e1f8ee6a1..1815e56c3 100644
--- a/chapter05/glibc.xml
+++ b/chapter05/glibc.xml
@@ -221,8 +221,8 @@ readelf -l a.out | grep ': /lib'
This command should return the following output:
#include <...> search starts here:
- /mnt/lfs/tools/lib/gcc/x86_64-lfs-linux-gnu/&gcc-version;/include
- /mnt/lfs/tools/lib/gcc/x86_64-lfs-linux-gnu/&gcc-version;/include-fixed
+ /mnt/lfs/tools/lib/gcc/loongarch64-lfs-linux-gnu/&gcc-version;/include
+ /mnt/lfs/tools/lib/gcc/loongarch64-lfs-linux-gnu/&gcc-version;/include-fixed
/mnt/lfs/usr/include
Again, the directory named after your target triplet may be
@@ -235,11 +235,11 @@ readelf -l a.out | grep ': /lib'
References to paths that have components with '-linux-gnu' should
be ignored, but otherwise the output of the last command should be:
-SEARCH_DIR("=/mnt/lfs/tools/x86_64-lfs-linux-gnu/lib64")
+SEARCH_DIR("=/mnt/lfs/tools/loongarch64-lfs-linux-gnu/lib64")
SEARCH_DIR("=/usr/local/lib64")
SEARCH_DIR("=/lib64")
SEARCH_DIR("=/usr/lib64")
-SEARCH_DIR("=/mnt/lfs/tools/x86_64-lfs-linux-gnu/lib")
+SEARCH_DIR("=/mnt/lfs/tools/loongarch64-lfs-linux-gnu/lib")
SEARCH_DIR("=/usr/local/lib")
SEARCH_DIR("=/lib")
SEARCH_DIR("=/usr/lib");
@@ -264,7 +264,7 @@ SEARCH_DIR("=/usr/lib");
The output of the last command should be (allowing for
platform-specific differences in dynamic linker name):
-found ld-linux-x86-64.so.2 at /mnt/lfs/usr/lib/ld-linux-x86-64.so.2
+found ld-linux-loongarch-lp64d.so.1 at /mnt/lfs/usr/lib/ld-linux-loongarch-lp64d.so.1
If the output does not appear as shown above or is not received
at all, then something is seriously wrong. Investigate and retrace the