On 8/6/06, Mag. Leonhard Landrock <[EMAIL PROTECTED]> wrote:

[EMAIL PROTECTED]:/media/sdb3/sources$ cat >  SOMEFILE.c << "EOF"
int main () {}
EOF
[EMAIL PROTECTED]:/media/sdb3/sources$ gcc SOMEFILE.c
/tools/bin/ld: warning: ld-linux.so.2, needed by /lib/libc.so.6, not found
(try using -rpath or -rpath-link)

This is a major issue. Whatever gcc you're using has hardcoded the
location of ld-linux.so.2 somewhere it doesn't exist. Indeed, you will
never be able to create executables. Almost sounds like you already
did the Ch. 5 toolchain adjustment before glibc in /tools exists.

Why don't you try the above again with:

$ gcc -v -Wl,--verbose SOMEFILE.c

That should tell you a lot more information about what gcc and
binutils are doing.

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to