当把matlab2014b或者matlab2015a安装到ubuntu上时,运行会出现如下错误:
libGL error: unable toload driver: swrast_dri.so
libGL error: failed toload driver: swrast
MATLAB is selectingSOFTWARE OPENGL rendering
解决方案:
在终端中输入 sudo ln -sf /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19 /usr/local/Matlab/R2015a/sys/os/glnxa64/libstdc++.so.6