0

我已经安装没有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"

我错过了什么吗?

我在 Debian 3.2.54-2 x86_64 中。

4

1 回答 1

0

问题LD_LIBRARY_PATH在于我的 .bashrc 中的设置。肯定是:

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

更多信息

于 2014-02-25T18:41:00.707 回答