[distcc] collect2: cannot find 'ld'

Ihar `Philips` Filipau thephilips at gmail.com
Thu Nov 1 06:58:42 GMT 2007


On 11/1/07, Jason Addison <jraddison at gmail.com> wrote:
>
> Compiling works great. When it comes
> to linking ... disaster!


I was under strong impression that distcc cannot distribute linking.
For example, if you would check its source code and see what it does and how
it does distribution - you would see that's impossible.

[ I have seen several commercial offerings - none of them provides
distributed linking. ]

Linking fails with
>
> $ scons -j 7
> ... compiliing ...
> distcc -o MyApp ...
> ...
> collect2: cannot find 'ld'
> distcc[24315] ERROR: compile (null) on localhost failed
>
> If I simply copy the link command and run it directly in the shell, it
> works!


For that to work, environments on both hosts have to match.
Compilation doesn't have this problem - linking does.

Just do linking locally. It's not a big deal anyway.
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the distcc mailing list