MATLAB: Fedora 30 matlab start issue

fedoraglibclibcrypt

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?

Best Answer

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).