...../glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found

报错(大概这样...):

Invalid MEX-file '/home/.../matconvnet-1.0-beta20/matlab/mex/vl_imreadjpeg.mexa64':

/usr/local/MATLAB/../../sys/os/glnxa64/libstdc++.so.6: version

`GLIBCXX_3.4.21' not found (required by/home/.../matconvnet-1.0-beta20/matlab/mex/vl_imreadjpeg.mexa64)

解决方案:

终端下输入命令:ln -sf /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /usr/local/MATLAB/R2015b/sys/os/glnxa64/libstdc++.so.6

重启一下matlab即可

可通过命令:strings libstdc++.so.6|grep "GLIBC" 查看linux系统下的libstdc++.so.6查看是否存在错误提示的版本(eg.GLIBCXX_3.4.21),进行软链接到matlab具体目录下即可

参考博客:

https://www.cnblogs.com/xfzhang/archive/2011/10/14/2212486.html

你可能感兴趣的:(...../glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found)