Subject: problem solved: collect2: cannot find `ld'
To: None <port-vax@netbsd.org>
From: rj45 <rj45@lart.xmission.com>
List: port-vax
Date: 07/20/2000 10:21:03
seems like I ahve to include this line in my ..tcshrc
it was in the root .tcshrc in fact root could compile and I could not

set path=(/sbin /usr/sbin /bin /usr/bin /usr/pkg/sbin /usr/pkg/bin
/usr/X11R6/bin /usr/local/sbin /usr/local/bin)

,aybe my path was not set correctly... the strange thig is that ld and gcc
were found if I type them by hand.

anyway no problem anymore

thanks

rj45


On Thu, 20 Jul 2000, rj45 wrote:

> 
> I compile a very stupid programn, hello world
> 
> 
> gcc -o hello hello.c
> or even
> gcc hello.c
> 
> I got this error
> 
> collect2: cannot find `ld'
> 
> ???
> 
> how can I link ?
> ls is in /usr/bin/ld
> 
> how come gcc can;t find it ?
> 
> thanks
> 
> rj45
> 
> 
>