[petsc-dev] Gfortran Fix for "library not found for -lSystem" macOS Big Sur

Jacob Faibussowitsch jacob.fai at gmail.com
Tue Dec 22 13:33:28 CST 2020

Hello All,

If anyone is on macOS and using brew to get gfortran, you may find it suddenly doesn’t work anymore.

Fix is to add /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib to $LIBRARY_PATH in startup shell file, as per this SO post.


Best regards,

Jacob Faibussowitsch
(Jacob Fai - booss - oh - vitch)
Cell: (312) 694-3391

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20201222/1b0c5f67/attachment.html>

More information about the petsc-dev mailing list