自從使用brew 升級zsh from 5.08 to 5.2 只要開啟新的terminal 就會看到
下列的錯誤
dyld: Library not loaded: /usr/local/lib/libgdbm.4.dylib
Referenced from: /usr/local/bin/zsh
Reason: image not found zsh: trace trap
後來發現只要重裝zsh 就一切都解了
先切回bash
1. cash -s /bin/bash
2.brew uninstall zsh
3.brew install zsh
4.cash -s /usr/local/bin/zsh
一切正常
沒有留言:
張貼留言