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

Joe Ciccone jciccone at gmail.com
Sun Nov 1 10:51:21 PST 2009

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.

More information about the Clfs-support mailing list