I'm stuck os step 6.9 of LFS.After launching make, the following command breaks gcc functionality
case $(uname -m) in i?86) ln -sfnv $PWD/elf/ld-linux.so.2 /lib ;; x86_64) ln -sfnv $PWD/elf/ld-linux-x86-64.so.2 /lib ;;esac
Im'working on a 64 bit machine, so the second line is executed.
If I start gcc I get the following error :gcc: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
so I'm unable to perform make check since gcc doesnt' work.
If I restore the original lib, (yes, i made a copy) gcc works correctly
Any suggestion ?