Home » » /usr/bin/ld cannot find -lf2c for CentOS 5

/usr/bin/ld cannot find -lf2c for CentOS 5

Written By 1 on Wednesday, June 15, 2011 | 8:45 AM

If you encounter this error "/usr/bin/ld: cannot find -lf2c", you are obviously missing f2c package. Do download the f2c-20031026-3.0.1.el5.x86_64.rpm package found at  f2c-20031026-3.0.1.el5.x86_64.rpm - CentOS 5 (RHEL 5) - ATrpms


# wget http://dl.atrpms.net/el5-x86_64/atrpms/stable/f2c-20031026-3.0.1.el5.x86_64.rpm
# rpm -Uvh f2c-20031026-3.0.1.el5.x86_64.rpm
# ldconfig

0 Comment:

Post a Comment