I am working with fortran on my MAC. Everything was working, but when I started to use brew to install for example python or other programs, everything started to crash, because I think several files has been moved from their original positions and probably some libraries were mixed. I read on Internet how to solve my errors, but I was unable to do that. I will post below the error I find, when I launch gfortran
dyld: Library not loaded: /usr/local/opt/isl/lib/libisl.23.dylib Referenced from: /usr/local/Cellar/gcc/10.2.0_2/libexec/gcc/x86_64-apple-darwin17/10.2.0/f951 Reason: image not found gfortran: internal compiler error: Abort trap: 6 signal terminated program f951 Please submit a full bug report, with preprocessed source if appropriate. See <https://github.com/Homebrew/homebrew-core/issues> for instructions.
brew doctor. This permits to see where there are missing links and can guide you better where the error is located. Then I have donebrew unlink,brew instal gccand thenbrew link. This is a way to stabilize again the missing links. I suggest also to have a look at Homebrew GitHub forum, which can give more targeted answers.