aboutsummaryrefslogtreecommitdiffstats
path: root/prologue
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2011-12-28 17:57:40 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2011-12-28 17:57:40 +0000
commit9ab4ef5891dc1e7b003d695b16d6a7041a728810 (patch)
tree82031f5f09a400b5830105e8657e4da9ea68da13 /prologue
parentfa7839124966ea2408f0f6052bc27d97904ee9d3 (diff)
Fix version-check.sh's Glibc version detection on 64-bit Debian hosts. Thanks to Pierre Labastie for the report and fix.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9696 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'prologue')
-rw-r--r--prologue/hostreqs.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/prologue/hostreqs.xml b/prologue/hostreqs.xml
index 79ee2e96a..751bc9525 100644
--- a/prologue/hostreqs.xml
+++ b/prologue/hostreqs.xml
@@ -169,7 +169,8 @@ if [ -e /usr/bin/awk ];
then echo "/usr/bin/awk -&gt; `readlink -f /usr/bin/awk`";
else echo "awk not found"; fi
gcc --version | head -n1
-/lib/libc.so.6 | head -n1 | cut -d"," -f1
+libcLib="`find /lib /lib64 -name libc.so.6 -print`"
+/${libcLib} | head -n1 | cut -d"," -f1
grep --version | head -n1
gzip --version | head -n1
cat /proc/version