Skip to content

Library not loaded: /opt/homebrew/opt/gettext/lib/libintl.8.dylib #5669

Answered by carlocab
Oclair asked this question in Everyday usage
Discussion options

You must be logged in to vote

You need to uninstall Homebrew from /usr/local and then install it into /opt/homebrew.

To uninstall:

curl -OL https://raw.githubusercontent.com/Homebrew/install/refs/heads/master/uninstall.sh
/bin/bash uninstall.sh --path=/usr/local

To install into /opt/homebrew:

arch -arm64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

You may wish to brew bundle dump before uninstalling to generate a Brewfile, so that you can brew bundle install after installing to /opt/homebrew with the same packages you had installed previously.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Oclair
Comment options

Answer selected by Oclair
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants