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

13 views (last 30 days)
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

Answers (1)

Naga
Naga on 27 Nov 2024
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

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!