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
I had the same issue and did not have an option to change the terminal on startup.
I ended up doing the following steps to resolve the problem:
Create a new user on my mac & enable remote login for him.
Login with the new user, which got a new working shell.
Changing the shell of my original account back to bash, using the chsh command.
Upgrading zsh using brew.
It Worked!