title: dyld: Library not loaded: /usr/local/gfortran/lib/libgfortran.3.dylib Reason: image not found
body: <p>I have tried many workarounds (brew upgrade/update, brew doctor, reinstalling gcc and gfortran, exporting libraries path etc.) to solve this issues, but none of them succeeded.
  When I try to execute a Fortran executable I get the same error message: </p>
  
  <p>dyld: Library not loaded: /usr/local/gfortran/lib/libgfortran.3.dylib
    Referenced from: /Users/...
    Reason: image not found</p>
  
  <p>I have read many different suggestions, is there a set of steps to follow to solve this problem?</p>
  
  <p>Thank you.</p>
  
  <p>More info:
  MacOS Mojave 10.14.5</p>
  
  <p>which gcc returns /usr/bin/gcc</p>
  
  <p>which gfortran returns /usr/local/bin/gfortran</p>