在我设置fish
作为主shell chsh -s /usr/local/bin/fish
后,我尝试在MATLAB中使用ls
命令,但是我收到以下错误:
??? Error using ==> ls at 36
/usr/local/bin/fish: /opt/MATLAB/R2011a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.15'
not found (required by /usr/local/bin/fish)
有人知道为什么会这样吗?我的实际解决方案是将bash
重置为主shell,并始终运行fish
以使用它。
答案 0 :(得分:2)
Matlab使用自己的glibc图书馆,因此通常都是一团糟。
你可以在那里查看我的答案,找到解决这个问题的方法之一: GLIBCXX not found when compiling vtk example under mex