Hi,
I've been trying to build a LFS system, using the livecd as host, but keep getting an error on step 5.7. After adjusting the toolchain I follow the tip trying to execute the following commands:
echo "main(){}" > dummy.c
cc dummy.c
readelf -l a.out | grep ': /tools'
But the compiler throws this error at me:
/mn/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.0.3/../../../../i686-pc-linux-gnu/bin/ld: warning: ld-linux.so.2, needed by /tools/lib/libc.so.6, not found (try using -rpath or -rpath-link)
I've checked that /tools/lib/ld-linux.so.2 exists and that the specsfile is correctly edited.
Anyone got an idea of what might be wrong ?
Happy New Year