Anyone please help.. How can I fix the following error:
dyld: Library not loaded: /usr/local/lib/libgdbm.4.dylib Referenced from: /usr/local/bin/zsh
If you facing the issue in iTerm2. You can simply change the path of your shell. Just go to iTerm2>>Preferences>>profile>>General>>command
iTerm2>>Preferences>>profile>>General>>command
Click on the dropdown and select Command and enter the command
Command
/bin/zsh
This worked for me