MATLAB License Manager Linux (binaries not found)

28 visualizaciones (últimos 30 días)
Nathan Metheny
Nathan Metheny el 31 de Mzo. de 2022
Comentada: Stefano Angelone el 6 de Jun. de 2024
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 comentarios
Nathan Metheny
Nathan Metheny el 6 de Abr. de 2022
Thanks! As opposed to just grabbing the LM install, I'm going to do a LM install from the full ISO to see if that resolves it. I will contact support proper after if that does not resolve the issue.
Nathan Metheny
Nathan Metheny el 6 de Abr. de 2022
It did not resolve the issue. Thanks for your suggestion.

Iniciar sesión para comentar.

Respuestas (2)

Matt Forrest
Matt Forrest el 21 de Abr. de 2022
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 comentario
Maël Jeuffrard
Maël Jeuffrard el 26 de Ag. de 2022
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

Iniciar sesión para comentar.


Stefano Angelone
Stefano Angelone el 5 de Jun. de 2024
I have the same problem, on Ubuntu 24.04.
I followed all your advice but the problem was not solved.
  1 comentario
Stefano Angelone
Stefano Angelone el 6 de Jun. de 2024
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

Iniciar sesión para comentar.

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by