undefined reference to `__ctype_b'

I am currently running RedHat Linux 9.0 with pgf90 4.0-2. A user had the following error while copiling:

/usr/pgi/linux86/lib/libpgftnrtl.a(fpcvt.o)(.text+0xe7d): In function atoxi': : undefined reference to __ctype_b’
/usr/pgi/linux86/lib/libpgftnrtl.a(fpcvt.o)(.text+0x128a): In function atoxufp': : undefined reference to __ctype_b’
/usr/pgi/linux86/lib/libpgftnrtl.a(fpcvt.o)(.text+0x12a2): In function atoxufp': : undefined reference to __ctype_b’
/usr/pgi/linux86/lib/libpgftnrtl.a(fpcvt.o)(.text+0x1341): In function atoxufp': : undefined reference to __ctype_b’
/usr/pgi/linux86/lib/libpgftnrtl.a(fpcvt.o)(.text+0x1358): In function atoxufp': : undefined reference to __ctype_b’
/usr/pgi/linux86/lib/libpgftnrtl.a(fpcvt.o)(.text+0x1370): more undefined references to `__ctype_b’ follow

Is there a work around or a fix for this problem. Any feedback would be greatly appricated.

Some systems, including Red Hat 9.0, use the variable __ctype_b_loc' instead of __ctype_b’. Library configuration and other system specific issues are handled during the installation of the compilers. However, since Red Hat 9.0 was released after the 4.0 compilers were released, the 4.0 compilers are not supported on this OS. Please see http://www.pgroup.com/support/install.htm#release_info for a list of supported Linux systems.

I will have our customer support department contact you via email about upgrading you to the 4.1 compilers which do support Red Hat 9.0.

Thanks,
Mat

We just bought a licence for FORTRAN PGI 5.2. Will this upgrade fix the problem?

Yes. 5.2 supports Red Hat 9.0.

Thanks,
Mat