[Clfs-support] some strange errors: ld --help gives errors

Stef Bon stef at bononline.nl
Sun Nov 1 11:20:59 PST 2009

Joe Ciccone wrote:
> Stef Bon wrote:
>> Hello,
>> after building a clfs system, I've removed the /tools and the
>> /cross-tools directories. Now I cannot compile a program
>> and just /usr/bin ld gives errors:
>> /usr/bin/ld --help
>> -bash: /usr/bin/ld: No such file or directory
>> while:
>> ls -al /usr/bin/ld
>> -rwxr-xr-x 1 root root 1087752 2009-10-29 10:19 /usr/bin/ld
>> huh??
>> Somebody reckognizes this?
> This is what happens when your binaries are linked wrong. You probably
> missed the toolchain adjustment after installing eglibc. Your easiest
> option would be to rebuild /cross-tools and /tools and then rebuild
> binutils/gcc in the final system.

great!! (not)
I've discovered that on my system the spec file is missing, while I'm 
sure I did this step. Is this spec file neseccary?

But where in the book, which chapter the dirs /tools and /cross-tools 
are removed?? I cannot find this.

> _______________________________________________
> Clfs-support mailing list
> Clfs-support at lists.cross-lfs.org
> http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org

More information about the Clfs-support mailing list