LoginSignup
0
0

More than 1 year has passed since last update.

Library not loaded: /opt/homebrew/opt/icu4c/lib/libicui18n.69.dylibへの対応

Posted at

Library not loaded: /opt/homebrew/opt/icu4c/lib/libicui18n.69.dylibへの対応

背景

brew upgrade

brew upgradeしてしまったことで、icu4cが最新化version72に進んでしまった。
この結果、手元のposgresが表題のエラーになった。

解決方法

  1. HomebrewのFormulaフォルダへ移動
cd $(brew --prefix)/Library/Taps/homebrew/homebrew-core/Formula
  1. gitのログを確認、戻したいバージョンのコミット番号を確認
 git log --follow icu4c.rb
  1. コードをチェックアウト
 git checkout XXX
  1. 再インストール
brew reinstall ./icu4c.rb
  1. gitのコードを戻す
git checkout master

参考URL

とても参考になりました。ほぼ記載いただいた通りです。
https://zenn.dev/ttskch/articles/8bd187c62436b8

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0