gcc installation problem & makelocalrc issue

Dear all,

I’m trying to install PGI14.10 on an Ubuntu 12.04. I already did it on another machine, but I can’t recall having so much troubles. Here is the problem: when I simply launch

./install

it fails:

Installing PGI Compilers and Tools version 14.10 into /opt/Modules/pgi
#########################

/lib64/libc.so.6: not found.  Searching.
/lib64/x86_64-linux-gnu/libc.so.6: not found.  Searching.
/lib/x86_64-linux-gnu/libc.so.6: found.
ERROR: directory installés: /usr/lib/gcc/x86_64-linux-gnu/4.6: not found;
   successful use of compilers requires existence of gcc libraries

Therefore, even though everything seems to be installed (I have all the executables in /opt/Modules/pgi/linux86-64/bin for example), it fails if I try to compile a simple program:

pgfortran-Error-Please run makelocalrc to complete your installation

I checked on the forum, saw that it could be linked to the fact that I don’t have gcc 32bits (I checked, tried to install gcc-multilib, ia32-libs, but everything was already there); I also tried to install libc6, libc6-dev, libc6-i386, but everything was already there, once again.

I don’t know what to try next to make it works. Any hint would be welcome!

Please send the outputs of

% gcc --version

and

% gcc -v -o hello hello.c

where hello.c is

#include <stdio.h>
int main(){printf(“Hello!\n”);}

to trs@pgroup.com

thanks,
dave

Thanks for your answer; I sent by email the outputs you asked for.