user14717
user14717

Reputation: 5181

Gfortran: error trying to exec 'f951': execvp

I just reinstalled my gfortran after upgrading(?) my computer to Mountain Lion. However, even though the command "gfortran -v" definitely shows that it is installed, whenever I try to compile a program, I get the following error message:

i686-apple-darwin10-gfortran-4.2.1: error trying to exec 'f951': execvp: No such file or directory

How can this be fixed? Thanks in advance.

Upvotes: 1

Views: 2478

Answers (1)

user14717
user14717

Reputation: 5181

Actually, I found the answer in the comments here. Basically, remove your old Fortran from /usr/bin/, then reinstall from Sourceforge.

Upvotes: 1

Related Questions