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.
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 .
tull
February 9, 2011, 10:02pm
4
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
gcc -m32 -v -o hello_32 hello.c ! no need to send hello_32,hello_64
gcc -m64 -v -o hello_64 hello.c
pgf90 -dryrun -m32 hello.f
pgf90 -dryrun -m64 hello.f
ls /software/pgi/linux86/10.*/bin
ls /software/pgi/linux86-64/10.*/bin
ls /software/pgi/linux86/10.*/lib
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!
tull
February 9, 2011, 11:24pm
6
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
Tuan
February 10, 2011, 4:33pm
7
robbiej:
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)
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