Debian/64bit/amd Error: Linker not found during install

Installing Fortran on a new debian system and getting ERROR: Linker : not found

?

Installing software into /software/pgi (this may take some time).
#########################

ERROR: Linker : not found

Do you wish to update/create/links in the 2010 directory? (y/n)

Hi robbiej,

You most likely need to add a GNU develop package. This will include the system’s linker as well assembler.

  • Mat

I have this same problem, however, the GNU assembler, linker, and binary utilities are installed. “which ld” gives /usr/bin/ld which is a link to /usr/bin/ld.bfd .

robbiej,

Please send the following output dialogs and file to trs@pgroup.com

Make sure the compilers are in your path and

===================
% more hello.c
#include <stdio.h>
#include <stdlib.h>

int main()
{
printf(" hello\n");

}

% more hello.f
print *,“hello”
stop
end

the output dialogs of

  1. gcc -m32 -v -o hello_32 hello.c ! no need to send hello_32,hello_64
  2. gcc -m64 -v -o hello_64 hello.c
  3. pgf90 -dryrun -m32 hello.f
  4. pgf90 -dryrun -m64 hello.f
  5. ls /software/pgi/linux86/10.*/bin
  6. ls /software/pgi/linux86-64/10.*/bin
  7. ls /software/pgi/linux86/10.*/lib
  8. ls /software/pgi/linux86-64/10.*/lib

and the files
/software/pgi/linux86-64/10./bin/localrc
and
/software/pgi/linux86/10.
/bin/localrc

I manually edited the makelocalrc file to hardwire in the LINKER variable, since it was not getting set by get_linker_version, which I did not analyze. Seemed to work!

That should do it, as long as localrc is pointing to the
correct gcc include and bin areas, and libpgc.a and/or
libpgc.so are placed in the lib directories.

dave

I get the same message on Ubuntu 10.04 (AMD64) during the installation (it works fine with 9.04). And I got fixed as described here.

Tuan