Tuesday, December 21, 2021

Mac Monterey Upgrade Blues


Apple's at it again, randomly overwriting and breaking stuff with their latest sidegrade.  Two things to watch out for if you want to keep your gfortran compiler working.
  1. Before you upgrade, make a copy of your .zshrc file.  The upgrade seems to do a search-and-destroy on the file in your home directory, so that all the cool custom stuff you may have added goes bye-bye.
  2. Whatever was in your /private/etc/zprofile gets overwritten too.  Let it, the new zprofile seems to have some new stuff.  But then come back and add that scrap of code from the end of this post to the file to get your linker to work right.
  3. Also, don't forget to upgrade the Xcode toolkit.  Still free from the Apple store, but you've got to go and get it.  Don't forget to restart terminal.
On the whole, not as bad as last June's fiasco, but it was still a little bit of puzzling around.  "It just works"?  Well, somewhat.  Admittedly, running a fortran compiler on a Mac is really getting down into the weeds.  Anyway, it's nowhere near as bad as that company that once proclaimed "don't be evil."

No comments:

Post a Comment