我使用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。
答案 0 :(得分:0)
问题在于我的.bashrc中的LD_LIBRARY_PATH
设置。必须是:
export LD_LIBRARY_PATH="$HOME/.linuxbrew/lib:$LD_LIBRARY_PATH"