After the recent update it is not possible to start MATLAB. The terminal gives me the following prompt
MATLAB is selecting SOFTWARE OPENGL rendering.
/usr/local/MATLAB/R2021b/bin/glnxa64/MATLAB: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory
I guess it has been something to do with the glibc library, when I see other threads referring to the update.
glibc just got updated and it seems that your build of MATLAB does not work with the new version of it.
How did you install MATLAB? Where did you get it from? Since this is proprietary software, it will probably have to be rebuilt against the new version of glibc.
If you can get away with it, I wholeheartedly recommend GNU Octave as an alternative to MATLAB.
I’m not able to find it right now, but I remember someone saying that libcrypt will be removed from glibc and have another provider. I’m not 100% certain and have no other informations, nor experience with this, so take my comment with a grain of salt.
This package is already installed. I also found the file libcrypt.so.2 and by linking libcrypt.so.1 to this file, there occured another error concerning GLIB.
I downloaded the newest installer and when calling ./install i get this
/home/username/Dokumente/Matlab/R2021b/bin/glnxa64/MathWorksProductInstaller: error while loading shared libraries: /home/username/Dokumente/Matlab/R2021b/bin/glnxa64/libicudata.so.67: file too short
Please note that you may need to extract/unpack the installer with unzip instead of some GUI utilities (e.g. Ark), or some symbol links or so would be missing, and you will get such error messages when running ./install:
/tmp/matlab-instlaller/bin/glnxa64/MathWorksProductInstaller: error while loading shared libraries: /tmp/matlab-instlaller/bin/glnxa64/libicudata.so.69: file too short
I also had this problem ( libcrypt.so.1) with docker-compose and libxcrypt-compat fixed it.
Isn’t there some way to “avoid” situations like this? I mean, .so.1 got removed from glibc, but something still needed it (docker-compose, matlab, etc).
Well, in the end it’s a problem with the programs you use, because they are using a deprecated library. With the current glib release it finally got removed, so these programs should act accordingly.