diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml
index 7458748ab..8fd25bf08 100644
--- a/chapter06/glibc-inst.xml
+++ b/chapter06/glibc-inst.xml
@@ -16,6 +16,10 @@ Install Glibc by running the following commands:
touch /etc/ld.so.conf &&
mkdir /usr/src/glibc-build &&
cd /usr/src/glibc-build &&
+ sed -e 's|$(PERL)|/usr/bin/perl|' \
+ ../glibc-2.2.1/malloc/Makefile > tmp~
+ &&
+ mv tmp~ ../glibc-2.2.1/malloc/Makefile &&
../glibc-2.2.1/configure \
--prefix=/usr --enable-add-ons
\