RH8.0 linker problem: 'collect2: cannot find ld'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I just installed RH8.0 (Psyche) on a PC, 
and tried out compiling some code with the 
'gcc' and 'g77' compilers (in /usr/bin/gcc 
and /usr/bin/g77).   

Compiling works OK, however linking the code with 
either 'gcc' or 'g77' fails with the message

collect2: cannot find ld

The linker/loader executable is /usr/bin/ld,
and I have made sure that /usr/bin is in PATH.
Linking explicitly with /usr/bin/ld does produce 
an executable binary, which however aborts 
immediately at start-up.   

Help on this problem is most welcome.

Ilkka Karasalo

FOI, Hydroacoustics             KTH, MWL
Enkopingsvagen 126              Teknikringen 8
SE-172 90 Stockholm             SE-100 44 Stockholm
Phone: +46-8-55503627           Phone: +46-8-7908017
Fax:   +46-8-55503869           Fax:   +46-8-7906122
Email: ilkka.karasalo@foi.se    Email: ilkkak@fkt.kth.se



_______________________________________________
Redhat-devel-list mailing list
Redhat-devel-list@redhat.com
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

[Index of Archives]     [Kernel Newbies]     [Red Hat General]     [Fedora]     [Red Hat Install]     [Linux Kernel Development]     [Yosemite News]

  Powered by Linux