MATLAB License Manager Linux (binaries not found)
27 ビュー (過去 30 日間)
古いコメントを表示
After going through the LM install procedure (with default install location) the startup scripts cannot seem to access the binaries.
I receive the following error:
Checking license file for local hostname and local hostid . . .
/usr/local/MATLAB/R2022a/etc/lmhostid: 332: /usr/local/MATLAB/R2022a/etc/glnxa64/lmhostid: not found
All the binaries are located in that directory appropriately:
root@licenses:/usr/local/MATLAB/R2022a/etc/glnxa64# ls -al
total 17224
drwxr-xr-x 2 root root 4096 Mar 31 13:35 .
drwxr-xr-x 4 root root 4096 Mar 31 13:37 ..
-r-xr-xr-x 1 root root 1064448 Nov 23 02:04 keycheck
-r-xr-xr-x 1 root root 1263896 Nov 13 00:32 lmborrow
-r-xr-xr-x 1 root root 1263896 Nov 13 00:32 lmdiag
-r-xr-xr-x 1 root root 1263896 Nov 13 00:32 lmdown
-r-xr-xr-x 1 root root 1282616 Nov 12 22:34 lmgrd
-r-xr-xr-x 1 root root 1263896 Nov 13 00:32 lmhostid
-r-xr-xr-x 1 root root 1263896 Nov 13 00:32 lmremove
-r-xr-xr-x 1 root root 1263896 Nov 13 00:32 lmreread
-r-xr-xr-x 1 root root 1263896 Nov 13 00:32 lmstat
-r-xr-xr-x 1 root root 1263896 Nov 13 00:32 lmswitchr
-r-xr-xr-x 1 root root 1263896 Nov 12 22:34 lmutil
-r-xr-xr-x 1 root root 1263896 Nov 13 00:32 lmver
-r-xr-xr-x 1 root root 1595936 Nov 12 22:34 MLM
-r-xr-xr-x 1 root root 1023128 Nov 23 02:04 ParallelServerLicenseCheck
Running lmgrd from $MATLAB/etc/glxna64 also results in a strange error message:
root@licenses:/usr/local/MATLAB/R2022a/etc/glnxa64# ./lmgrd
bash: ./lmgrd: No such file or directory
This is a VM running Ubuntu 20.04.1 x86_64.
Ideas?
5 件のコメント
回答 (2 件)
Matt Forrest
2022 年 4 月 21 日
TLDR: sudo apt install lsb-core
when you look at the FlexLM files, they reference a specific library:
etc/glnxa64$ file *
keycheck: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=64e97478a60a6f9d0b496f1f02c1fb51a73809fc, for GNU/Linux 3.2.0, stripped
lmborrow: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-lsb-x86-64.so.3, for GNU/Linux 2.6.18, stripped
.....
on my system /lib64/ld-linux-x86-64.so.2 existed but /lib64/ld-lsb-x86-64.so.3 does not
Installing lsb-core fixes that. You may be able to get away with just creating a symlink to ld-linux-x86-64.so.2
1 件のコメント
Maël Jeuffrard
2022 年 8 月 26 日
Hi,
Debian has discontinued LSB support in 2015.
I confirm that making the symlink did the trick. Thank you @Matt Forrest
ln -s /lib64/ld-linux-x86-64.so.2 /lib64/ld-lsb-x86-64.so.3
Stefano Angelone
2024 年 6 月 5 日
I have the same problem, on Ubuntu 24.04.
I followed all your advice but the problem was not solved.
1 件のコメント
Stefano Angelone
2024 年 6 月 6 日
Solved it,
I created a new link to ld-linux-x86-64.so.2 in /usr/lib64 directory:
ld-linux-x86-64.so.2 -> ../lib/x86_64-linux-gnu/ld-linux-x86-64.so.2
ld-lsb-x86-64.so.3 -> /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2
参考
カテゴリ
Help Center および File Exchange で Introduction to Installation and Licensing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!