問題總錄:

 


[root@localhost MATHWORKS_R2008A]# ./install

-------------------------------------------------------------------

    The following messages were written to standard error
    while running 'xsetup' the X Window System version
    of 'install'.

        Warning: This program is an suid-root program or is being run by the root user.
        The full text of the error or warning message cannot be safely formatted
        in this environment. You may get a more descriptive message by running the
        program as a non-root user or by removing the suid bit on the executable.
        Warning: Cannot convert string "%s" to type %s

    Check the content of the installation output file (backend):

        /opt/MATHWORKS_R2008A/install_matlab.out

    Error messages found:

               Warning: Permission Problem With MATLAB Files!
   ------------------------------------------------------------------------
   | Checked some files in your MATLAB root directory. These are bad:     |

     -rwxr-xr-x. (not world readable)  - ./bin/scripts/matlab
      -rw-r--r--. (not world readable)   - ./toolbox/matlab/general/diary.m

   | If you continue with this installation parts of MATLAB may be        |
   | inaccessible to the general user after installation. If this is      |
   | acceptable for security reasons then continue. Otherwise, you        |
   | SHOULD STOP and start all over and extract the files again being     |
   | sure that you CORRECTLY set your user file-creation mask with the    |
   | 'umask' command BEFORE you extract the files. The argument to the    |
   | 'umask' command SHOULD end in 2. For example,                        |
   |                                                                      |
   |                 # umask 2                                            |
   |                                                                      |
   | will preserve the read and execute permissions for world. You        |
   | should extract the files again using the same userid as was          |
   | orginally done so that deleting the existing files is optional.      |
   ------------------------------------------------------------------------
               Warning: Permission Problem With MATLAB Files!
   ------------------------------------------------------------------------
   | Checked some files in your MATLAB root directory. These are bad:     |

     -rwxr-xr-x. (not world readable)  - ./bin/scripts/matlab
      -rw-r--r--. (not world readable)   - ./toolbox/matlab/general/diary.m

   | If you continue with this installation parts of MATLAB may be        |
   | inaccessible to the general user after installation. If this is      |
   | acceptable for security reasons then continue. Otherwise, you        |
   | SHOULD STOP and start all over and extract the files again being     |
   | sure that you CORRECTLY set your user file-creation mask with the    |
   | 'umask' command BEFORE you extract the files. The argument to the    |
   | 'umask' command SHOULD end in 2. For example,                        |
   |                                                                      |
   |                 # umask 2                                            |
   |                                                                      |
   | will preserve the read and execute permissions for world. You        |
   | should extract the files again using the same userid as was          |
   | orginally done so that deleting the existing files is optional.      |
   ------------------------------------------------------------------------


[root@localhost MATHWORKS_R2008A]# matlab
/opt/MATHWORKS_R2008A/bin/glnx86/MATLAB: symbol lookup error: /usr/lib/libXp.so.6: undefined symbol: _ZTVN8EasySoap16SOAPHTTPProtocolE
[root@localhost MATHWORKS_R2008A]# yum install libXp-devel


[root@localhost MATHWORKS_R2008A]# matlab
/opt/MATHWORKS_R2008A/bin/glnx86/MATLAB: error while loading shared libraries: /opt/MATHWORKS_R2008A/bin/glnx86/../../bin/glnx86/../../bin/glnx86/../../bin/glnx86/../../bin/glnx86/libmwrookfastbp.so: cannot restore segment prot after reloc: Permission denied


解決方式:

  1. 更新  libXp.so.6
  2. 停用SElinux

yum install libXp-devel

su -c '/usr/sbin/setenforce 0'

 

reference:

centos 5.2上安装matlab2008b出现问题

把SELinux關閉的方法

Fedora10下matlab启动问题

Linux系统下Matlab的安装设置

在LINUX下安装Matlab成功

創作者介紹
創作者 Hentyduary 的頭像
Hentyduary

心靈的寄託

Hentyduary 發表在 痞客邦 留言(0) 人氣()