Segmentation fault while installing matlab in ubuntu server 22.04
52 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Arevalo Arboleda Juan Camilo
am 9 Dez. 2022
Kommentiert: Arevalo Arboleda Juan Camilo
am 14 Dez. 2022
Dear community,
I was wondering if anyone could help me with a question I have. I would really appreciate any advice or suggestions. I have been trying to install matlab on ubuntu server 22.04 (no GUI) but it always ends up with a segmentation fault. In the beginning, I though was a problem with the license, however, it seems not to be the case. This is what I have done so far:
Download the license and matlab
- I went to the license center and clicked on activate a new license. I selected version R2022b, linux, used server eno1 mac address as hostid, and used the user name in the system as the computer login name. Once done, I said I didn't install the software yet to get the FIK. I copy it and downloaded the license file.
- I downloaded the installation zip and decompress it.
- decompress as well the archaives/glnxa64/Network_License_Manager111621_glnxa64.zip
Configuration matlab installer_input.txt
- paste the FIK
- write the path for license file(license.lic) and destination folder (/usr/local/R2022b)
- agree to license, uncomment all the products (my license should have access to all of them), and set up a log file
now, once I run the sudo ./install -inputFile installer_input.txt it shows in the terminal Segmentation fault. logs show the following:
End of the file installer_input.txt
(Dic 09, 2022 13:56:09) Session key: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
(Dic 09, 2022 13:56:09) Product Files Folder: /home/xxxxxx/matlab_installer/archives
(Dic 09, 2022 13:56:09) License Agreement validation is successful.
(Dic 09, 2022 13:56:09) FIK validation is successful.
(Dic 09, 2022 13:56:09) License File validation is successful.
Linux journal doesn't show any error related to this, so I run the MathWorksProductInstaller in the bin/glnxa64 with gdb as follows:
sudo gdb --args MathWorksProductInstaller -inputFile /home/xxxxx/matlab_installer/installer_input.txt
The program finished with the segmentation fault in
f1:i18n:to_string(std::__cxx11::basic_string<char16_t, std::char_traits<char16_t>, std::allocator<char16_t> > const&) () from /home/xxxxxx/matlab_installer/bin/glnxa64/libmwi18n.so
Did anyone have this problem or know how to solve it?
Thank you in advance for any help you can provide. I look forward to hearing from you.
Sincerely,
Camilo Arevalo
2 Kommentare
Ciaran McAndrew
am 12 Dez. 2022
Hi @Arevalo Arboleda Juan Camilo - I want to confirm that I am also having the exact same fault. I have duplicated your steps and got the same outputs.
Akzeptierte Antwort
Jestzer
am 9 Dez. 2022
This could be caused by lots of different things and without more information, I don't know what's causing it, but you may be able to overcome this error by installing MATLAB with MATLAB Package Manager. It only works if you have an internet connection, but you may be able to overcome your error with this method.
If you're using the traditional installer, you need an offline version of it to use the -installer_input.txt file, otherwise, it won't work, regardless of you the error you're getting.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!