After installing Fortran workstation 64-bit on a Red Hat Enterprise 6.1 system, pgf77 -V x.f resulted in the following errors.
pgf77-Error-Required tool as was not found
pgf77… looked for as at /opt/pgi/linux86-64/11.5/bin/as
pgf77-Error-Required tool ld was not found
pgf77… looked for ld at /opt/pgi/linux86-64/11.5/bin/ld
The same error was posted in 2006, but this may not be PATH problem. I repeated the installation. There is no file “as” or “ld” in the bin directory. What’s wrong?
I am sorry you are seeing problems. If you installed the product
in one directory and then copied the directory to another area, you
will have problems with files that do not copy.
The first thing to check is whether the PGI bin directory contents can be
executed by anyone. Sometime users install as root and permissions don’t
allow them to run the executables as non-root.
The next thing to check is whether you have gcc support, for 32-bit and 64-bit,
in your path.