what(): Unable to launch the MATLABWindow application during installation
775 views (last 30 days)
Marcello Carboni on 27 Mar 2020
So, I'm running a fresh install of Manjaro Gnome and I'm trying to install matlab. I downloaded the installer, unpacked but when I try to run "bash ./install" it gives me the error:
terminate called after throwing an instance of 'std::runtime_error'
what(): Unable to launch the MATLABWindow application
Matlab version is R2020a.
More Answers (2)
Brian Zelenke on 23 May 2020
The MATLAB 2020a installer contains its own shared library libcrypto.so.1.1, but uses the system library libk5crypto.so.3. System library libk5crypto.so.3 uses new symbols, which system library libcrypto.so.1.1 has, but MATLAB's library libcrypto.so.1.1 doesn't. So, you have to delete the MATLAB installer's copy of libcrypto.so.1.1. The sequence of commands that worked for me in RHEL 8.2 were:
sudo su -
That got the installer to work.
P.S. -- When I got to the step of entering my MathWorks account password in the resulting MATLABWindow application, the password field wouldn't let me type until I selected "Show Details" from the "MathWorks Product Installer" drop-down menu in the top menu bar and then clicked back into the main screen of the MATLABWindow application. Basically, I think I had to remove and restore focus on the MATLABWindow application main screen to get the password field working again.
P.P.S. -- Thanks to Petr at https://bugzilla.redhat.com/show_bug.cgi?id=1829790 for pointing me in the right direction on this.
逸飞 吴 on 11 Nov 2020
The above answers don't work for me.
My solution is to run
from my home directory (or it will complain and exit), and things get to work well.
If you want to install MATLAB to somewhere outside your home directory, don't forget to add sudo.