Debian 运行与linuxbrew(自制)一起安装的zsh时出错
我使用linuxbrew安装了zsh,没有问题: 现在,当运行zsh时,我得到一个错误:Debian 运行与linuxbrew(自制)一起安装的zsh时出错,debian,homebrew,zsh,linuxbrew,Debian,Homebrew,Zsh,Linuxbrew,我使用linuxbrew安装了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中都有: 我错过什么了吗 我使用的是Debian 3.2.54-2 x86
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中都有:
我错过什么了吗
我使用的是Debian 3.2.54-2 x86_64。问题在于.bashrc中的LD_LIBRARY_路径设置。它必须是:
export LD_LIBRARY_PATH="$HOME/.linuxbrew/lib:$LD_LIBRARY_PATH"
LD_LIBRARY_PATH="$HOME/.linuxbrew/lib:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH="$HOME/.linuxbrew/lib:$LD_LIBRARY_PATH"