Unable to load mex file: /usr/local/matlab/toolbox/symbolic/maplemex.mexglx. /usr/local/matlab/bin/glnx86/libmaple.so: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference ??? Invalid MEX-file '/usr/local/matlab/toolbox/symbolic/maplemex.mexglx': .
Error in ==> maple at 104 [result,status] = maplemex(statement);
出现这种情况的原因是目前的Linux系统一般采用新的2.6内核,与Matlab有些地方不太一致,这时只要通过在命令行启动Matlab前输入以下命令,就可解决问题:
(bash shell)
export LD_ASSUME_KERNEL=2.4.1
或:
export LD_ASSUME_KERNEL=2.2.5
(c shell)
setenv LD_ASSUME_KERNEL 2.4.1
或:
setenv LD_ASSUME_KERNEL 2.2.5
摘自:驱动之家
[ 关闭窗口 ]