7
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

iterm(zsh)が立ち上がらなくなった時の対処法

Posted at

現象

以下エラーになってiterm(zsh)が突然立ち上がらなくなった。

dyld: Library not loaded: /usr/local/opt/gdbm/lib/libgdbm.4.dylib
  Referenced from: /usr/local/bin/zsh
  Reason: image not found

[プロセスが完了しました]

対処法:zshをインストールし直した

と言っても全然itermが動かないし、ターミナルも動かないので
一旦zshをbashに戻す必要があった

bashに戻してから以下を実行

brew reinstall zsh && brew unlink zsh && brew link zsh

これで動くようになりました。

thanks

https://qiita.com/Kansei/items/4029a0dff197039c5e78
https://qiita.com/ktnyt/items/3eb7c4c53caf085d28b4
https://stackoverflow.com/questions/24103888/error-loading-library-in-mac-terminal

7
5
1

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
7
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?