Missing libgfortran


(Gideon Simpson) #1

I did a brew install gcc and I successfully got gfortran installed. However, I am missing libgfortran. How do I install that via homebrew?


(Jonathan Chang) #2
$ cd $(brew --prefix gcc) && fd -a libgfortran.dylib
/usr/local/Cellar/gcc/8.3.0/lib/gcc/8/libgfortran.dylib

Note that this is the Cellar path; assuming gcc is linked it should point to /usr/local/lib/gcc/8 as well.