Fedora 30 matlab start issue

I'm running Fedora 30 beta and the installation process went smoothly with default settings. However it won't boot and I get the following error:
"MATLAB is selecting SOFTWARE OPENGL rendering.
/usr/local/bin/matlab: line 1233: lsb_release: command not found
/usr/local/MATLAB/R2019a/bin/glnxa64/MATLAB: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory"
Libcrypt.so.1 is part of glibc package which is already installed as glibc-2.29-9.fc30.x86_64.
Why doesn't matlab find this package?

 Respuesta aceptada

Ayan Banerjee
Ayan Banerjee el 18 de Abr. de 2019

4 votos

Fedora 30 ships with libcrypt version 2. R2019a requires libcrypt version 1. By running dnf provides libcrypt.so.1, we can see that the legacy version 1 is provided by the package libcrypt-compat. You have to just install this package using dnf (dnf install libcrypt-compat).

4 comentarios

tzycce
tzycce el 22 de Abr. de 2019
So it seems. I don't know why I got that result. Thanks!
Menno Hofste
Menno Hofste el 23 de Abr. de 2019
For me the package name was libxcrypt-compat, note the x.
Andrew Cavanaugh
Andrew Cavanaugh el 2 de Mayo de 2019
That was the package for me, however I still get the same error when trying to open Matlab (even post re-boot). I'm sure re-installing Matlab will fix it, but that seems excessive.
Lucas Hermann
Lucas Hermann el 3 de Mayo de 2019
had the same issue, thank you so much!

Iniciar sesión para comentar.

Más respuestas (2)

Johannes Kalliauer
Johannes Kalliauer el 17 de Ag. de 2020

0 votos

1) install XFCE4
sudo dnf install libxcrypt-compat libnsl
sudo dnf groupinstall -y "Xfce Desktop"
2)Restart computer
3)Remove libcrypto.so.1.1 (or rename)
cd ~/Downloads/matlab_R2020a_glnxa64/bin/glnxa64
mv libcrypto.so.1.1 libcrypto.so.1.1.old
4)Run the installer (recommend not as sudo, since some licensing depend on login-name)
cd ~/Downloads/matlab_R2020a_glnxa64
./install

Categorías

Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.

Preguntada:

el 17 de Abr. de 2019

Respondida:

el 17 de Ag. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by