Created
December 6, 2025 11:07
-
-
Save zeusdeux/f1ac76e7c6d46cd4980356830d10932d to your computer and use it in GitHub Desktop.
When emacs inevitably fails to load due to an upgrade to icu4c (which provides libicui18n.<ver>.dylib) which is needed by libxml2 which is in turn needed by emacs, do the following to make it all work again
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| brew tap railwaycat/emacsmacport | |
| brew update | |
| # CLEANUP | |
| brew uninstall emacs-mac | |
| # remove dependencies that emacs has and let emacs-mac install them | |
| brew rm --ignore-dependencies gnutls tree-sitter pkg-config | |
| # remove the copied over version from the emacs-mac installed via homebrew | |
| rm -fr /Applications/Emacs.app | |
| # REINSTALL (build from source) | |
| brew install emacs-mac --with-xwidgets --with-starter --with-native-compilation --with-librsvg --with-imagemagick | |
| cp -a $(brew --prefix)/opt/emacs-mac/Emacs.app /Applications # to make available to spotlight | |
| # Go open Emacs.app from finder manually to unquarantine the app | |
| # Once emacs opens via spotlight | |
| # 1. upgrade all installed packages in emacs | |
| # 2. reinstall icon fonts (M-x nerd-icons-install-fonts) used by doom modeline | |
| # 3. M-x recompile-all-packages |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment