Matlab install linux error: what(): Unable to launch the MATLABWindow application

19 次查看(过去 30 天)
I have followed the basic instructions to install the matlab version R2018a. The installation completed without error.
When I load matlab I get the following error:
terminate called after throwing an instance of 'std::runtime_error'
what(): Unable to launch the MATLABWindow application
When I enter:
! bin/glnxa64/MATLABWindow
I get the following error:
bin/glnxa64/MATLABWindow: error while loading shared libraries: libgobject-2.0.so.0: cannot open shared object file: No such file or directory
I have run:
Sudo yum install */libgconf* and found several updates
I have excluded libfreetype* files and glnxa64/libglib-2.0.so* by entering the following:
sudo mv matlabroot/bin/glnxa64/libfreetype* exclude_path
sudo mv matlabroot/cefclient/sys/os/glnxa64/libglib-2.0.so* exclude_path
when I enter:
matlab -nodesktop -nosplash
I get the following error:
terminate called after throwing an instance of 'std::runtime_error'
what(): Unable to launch the MATLABWindow application
here are some specification:
CPU op-mode(s): 32-bit, 64-bit
Operating System: Red Hat Enterprise Linux
CPE OS Name: cpe:/o:redhat:enterprise_linux:7.2:GA:workstation
Kernel: Linux 3.10.0-327.10.1.el7.x86_64
Architecture: x86-64

回答(1 个)

Naga
Naga 2024-11-27,8:48
Hello Dana,
This error message is typically caused by a library dependency error. To resolve this issue, please remove the following libraries from the MathWorks Installation files, specifically the /bin/glnxa64 directory:
libcrypto.so.1.1
libssl.so.1.1

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by