Error in compiling PGI 6.1.6 on Linux FC5(kernel-2.6.15_smp)

Dear sir:

When compiling PGI 6.1.6 on FC5 today, I encountered some problems.

It says 'ERROR: directory /usr/lib/gcc/i386-redhat-linux/4.1.0/: not found;

successful use of compilers requires existence of gcc libraries’

But I found this directory does exist! I was confused.

I don’t know why it is error and how can I resolve it.

Should I updates my GCC?

I will appreciate if you could give me some advice. Thank you!

I might need some more info. Was FC5 on the system when you installed our compilers? Is gcc installed?

Try this: gcc -v hello.c (Make up a hello world example).
Check out the paths of where gcc is finding the includes and libraries.

Then look in the pgi bin directory at the localrc file. Compare where we think the gcc includes and libraries are.

Might be easier to move this discussion to our support email, trs@pgroup.com

  • Brent