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

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


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.

You need the package glibc-devel-2.3.4-36.i386 to be
installed in order for 32-bit gcc support to be available.