使用linuxbrew运行zsh时出错(自制软件)

时间:2014-02-19 12:15:42

标签: debian homebrew zsh linuxbrew

我使用zsh安装linuxbrew没有问题:

brew install zsh

现在,在运行zsh时出现错误:

zsh: error while loading shared libraries: libgdbm.so.4: cannot open shared object file: No such file or directory

libgdm.so.4中已存在~/.linuxbrew/lib,而.bashrc.zshrc中已存在LD_LIBRARY_PATH="$HOME/.linuxbrew/lib:$LD_LIBRARY_PATH"

{{1}}

我错过了什么吗?

我在Debian 3.2.54-2 x86_64。

1 个答案:

答案 0 :(得分:0)

问题在于我的.bashrc中的LD_LIBRARY_PATH设置。必须是:

export LD_LIBRARY_PATH="$HOME/.linuxbrew/lib:$LD_LIBRARY_PATH"

More information