I'm trying to run a simple fortran code I wrote following an intro to fortran tutorial using Mac Terminal. When I try to run it I get the library not loaded. When I try to run the library it refers to it says "cannot execute binary file." What can I do to run this command? Thank you
Here is the text from my terminal:
hntvlan569:work Abdullah$ ./fact
dyld: Library not loaded: /usr/local/lib/libgfortran.3.dylib
Referenced from: /Users/Abdullah/work/./fact
Reason: image not found
Trace/BPT trap: 5