-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
Cannot open zsh shell as login #27106
Comments
Try |
Fixed, but the oddest thing -- man3 had the wrong permissions: ➜ ~ brew ln gdbm Error: Could not symlink file: /usr/local/Cellar/gdbm/1.11/share/man/man3/gdbm.3 |
Is this fixed now? |
It is fixed now. Will Sargent On Sun, Mar 2, 2014 at 9:19 AM, Adam Vandenberg notifications@github.comwrote:
|
I also ran into this issue upgrading to OS X Mavericks. Eventually, I went through the following steps to fix it:
After that, I was still getting these issues when trying to load zsh as my shell:
I ended up running this command to reinstall and relink:
Then I had to do the same for pcre:
|
+1 for having experienced this problem. I was experiencing the |
👍 had this problem as well after upgrading to OSX 10.9. The suggestion for pcre and gdbm worked to fix zsh. I actually had the same problem though with every brew installed app. The symlinks were missing, so I ran the following which fixed everything. for x in $(brew list -1); do brew unlink $x; brew link $x; done |
@albertsj1 Interesting. I also had the same problem with every brew installed app. With my situation, my OS was reinstalled. |
@albertsj1 Had the same issue after a wonky upgrade to 10.9.4 today. Thanks for your handy one-liner! |
@albertsj1 Great Job! Thanks for your solution! |
This thread saved me! Man, was trying to fix someones install of haproxy for ages with a similar issue: dyld: Library not loaded: @@HOMEBREW_PREFIX@@/lib/libpcre.1.dylib
Referenced from: /opt/boxen/homebrew/bin/haproxy
Reason: image not found In my case it was pcre that was the problem:
|
@petems welcome to the club! |
Yeah. This seems to be a common problem when there are any major changes/upgrades. Glad to hear you got things working. |
Yep, just thought I'd add in my exact issue for SEO purposes (or when I forget about this and end up googling the exact same error 😓) |
Following my last brew update, zsh stopped working as my default login shell. I'm on MacOS 10.9.2 and /usr/local/bin/zsh is in my /etc/shells.
When I hit Cmd-N in iTerm, the following text shows up:
Last login: Fri Feb 28 20:40:43 on ttys001
dyld: Library not loaded: /usr/local/lib/libgdbm.4.dylib
Referenced from: /usr/local/bin/zsh
Reason: image not found
The text was updated successfully, but these errors were encountered: