Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22042

LFS 9.1, step 6.9 (glibc-2.31) , breaks gcc

$
0
0

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 ?


Viewing all articles
Browse latest Browse all 22042

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>