ld: library not found for -lSystem #191
Replies: 2 comments
-
If the above method does not work, then add After implementing the above patch, I could again run & compile Phantom. However, I could not compile other scripts using gfortran due the same issue. I added the following alias to my bash_profile to permit me to again compile: |
Beta Was this translation helpful? Give feedback.
-
If the above does not work and you want to avoid adding an additional flag to each Makefile, it is possible that you might still need to upgrade the installed formulae to resolve linking issues. This can be done with Homebrew, so after reinstalling the Xcode Command Line Tools |
Beta Was this translation helpful? Give feedback.
-
Just a short note on how to fix the following problem when compiling with gfortran:
which occurs on Mac OS after performing a system update.
The fix is to reinstall the Xcode command line tools for the new OS:
Sometimes you need to wipe the existing command line tools for this to work:
Beta Was this translation helpful? Give feedback.
All reactions