Cannot install R2022a on an up-to-date linux machine

10 ビュー (過去 30 日間)
Falk
Falk 2022 年 3 月 21 日
コメント済み: Falk 2022 年 8 月 18 日
I am attempting to install matlab on a machine at my university. It is an arch-based system, rolling release, all up to date.
# uname -r
5.16.14-artix1-1
When I just run the installer (sudo), I first get
matlab_install/bin/glnxa64/MathWorksProductInstaller: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory
libcrypt.so.2 is present, but as newer version, so I attempted to link "/usr/lib/libcrypt.so.2" to ".so.1".
However, then glibc kicks in:
matlab_install/bin/glnxa64/MathWorksProductInstaller: /usr/lib/libcrypt.so.1: version `GLIBC_2.2.5' not found (required by matlab_install/bin/glnxa64/libmwfl.so)
I do have glibc 2.35-2 installed.
How can I tell the installer to simply use the version which I have installed?
Acknowledged, my linux is a corner case (though it is fully up to date), and I would generally not have any hope of receiving support. However, on the installation requirements, you list "Linux kernel version 3.10 or later and glibc version 2.17 or later...". And there is evidence that it used to be slightly better*.
I would expect that the newly released R2022A works with the latest versions of its dependencies, i.e. by having minimum instead of specific version dependencies. And it would be great to have an arch-based distro supported from your side. Personally, I do not mind much; in fact I do prefer python or gnu octave. However, I am doing this for teaching with students who are habituated to matlab and the interface; so I would love to make their life easier and have the tools they are used to installed as well.
I'd appreciate any pointer or workaround. Thanks in advance for the help!
* I could in fact grab an older version (~2017) from my universities campus software depot; there, the installer at least started (but failed later because a license manager system task fails to establish on my OpenRC system). Never mind that.

採用された回答

Jannik
Jannik 2022 年 3 月 23 日
I had the same Problem (Manjaro fresh install)
the Problem seemed to be a missing package libxcrypt-compat
gpg --keyserver keyserver.ubuntu.com --recv-keys 678CE3FEE430311596DB8C16F52E98007594C21D
yay -S libxcrypt-compat
Installing the package according to this and then running the installer using
sudo ./install
seems to have fixed the Problem however
  3 件のコメント
Steve Wilson
Steve Wilson 2022 年 4 月 10 日
編集済み: Walter Roberson 2022 年 4 月 10 日
Falk
Falk 2022 年 8 月 18 日
Thanks, should have read more on the Arch wiki right away :) Thank you for the help, Jannik and Steve!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by