LFS: `bash: /tools/bin/gcc: No such file or directory`
gcc, linux-from-scratch, linux-kernel, path, root
Solution
For Googlers with x86-64 systems:
ln -sv /tools/lib/ld-linux-x86-64.so.2 /lib64/ld-linux-x86-64.so.2
Problem
I type ``` root:/# gcc ``` and somehow this happens: ``` bash: /tools/bin/gcc: No such file or directory ``` Obviously, the $PATH works and is finding /tools/bin/gcc. I am chroot'd into $LFS and am on this step: http://www.linuxfromscratch.org/lfs/view/stable/chapter06/linux-headers.html. EDIT: Now `make mrproper` is no longer giving me a cannot find gcc error. Weird. EDIT2: Nevermind, ``` root:/sources/linux-3.13.3# make mrproper make: gcc: Command not found ```