PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

Trouble installing 32-bit libraries on Rhel 4 64-bit machine

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation
View previous topic :: View next topic  
Author Message
EPA



Joined: 02 Nov 2004
Posts: 1

PostPosted: Thu Aug 16, 2007 10:41 am    Post subject: Trouble installing 32-bit libraries on Rhel 4 64-bit machine Reply with quote

Hi. I've been trying to install the PGI 7.0 compiler on a 64-bit Linux machine running RedHat Enterprise Linux 4. I have installed all of the "compatibility libraries" I can find, but I've obviously missed something important. I keep getting this message when I try to install PGI:

Note: This Linux installation does not appear to support 32-bit compilation.
The command 'gcc -m32 hello.c' where hello.c contains the simple
C program

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

should produce a 32-bit executable a.out

The command "gcc -m32 hello.c" ends with this:

/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status


Can someone please tell me what I'm missing? Any help will be very much appreciated.

Thank you very much.
Back to top
View user's profile
jtull



Joined: 30 Jun 2004
Posts: 445

PostPosted: Mon Aug 20, 2007 12:13 pm    Post subject: 32-bit gcc needs to reside on 64-bit systems for 32-bit PGI Reply with quote

You need the package glibc-devel-2.3.4-36.i386 to be
installed in order for 32-bit gcc support to be available.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group