Bash: No such file or directory

jari@ENVY-17:~/mentor/mgls.aoi/bin$ ls -la lmstat lmutil
lrwxrwxrwx 1 jari jari 6 Sep 7 21:26 lmstat -> lmutil
-rwxr-xr-x 1 jari jari 1362736 Sep 7 21:57 lmutil
jari@ENVY-17:~/mentor/mgls.aoi/bin$ ./lmstat -a
bash: ./lmstat: No such file or directory

And this ‘lmstat’ is not a shell program.

Should that be /.lmstat?

jari@ENVY-17:/opt/mentor/mgls.aoi/bin$ ./lmstat
bash: ./lmstat: No such file or directory

It would not help. This is strange and the ‘ldd’ shows no problems either.

Are you wanting to determine licenses?

https://sourceforge.net/projects/phplicensewatch/files/

Yes, I hope that I can see the license status.
There is something wrong with the “path” possibly, but I could not see what exactly.

[jari@ENVY-17 GDS]$ ./gds2status file.gds
bash: ./gds2status: No such file or directory
[jari@ENVY-17 GDS]$ ldd ./gds2status
not a dynamic executable

It looks this is not only ‘lmstat’ command issues…

[jari@ENVY-17 GDS]$ ldd ./series_mt
linux-vdso.so.1 (0x00007fffe8da8000)
libm.so.6 => /lib64/libm.so.6 (0x00007f69b9640000)
libc.so.6 => /lib64/libc.so.6 (0x00007f69b9476000)
/lib64/ld-linux-x86-64.so.2 (0x00007f69b97a3000)
[jari@ENVY-17 GDS]$ ldd ./gds2status
not a dynamic executable
[jari@ENVY-17 GDS]$ ./series_mt 4
Calculating values for the number series up to index NMAX=4 (NMEM=4)…

For NP= 1 number of zeroes = 0
For NP= 2 number of zeroes = 0
For NP= 3 number of zeroes = 1
For NP= 4 number of zeroes = 1

[jari@ENVY-17 GDS]$ ./gds2status file.gds
bash: ./gds2status: No such file or directory

This case the my own program “series_mt” has no problem running, but gds2status can not run…
I don’t know if this is related to the file input in the gds2status…
I don’t know if it can be caused if gds2status being 32bit executable?

[jari@ENVY-17 GDS]$ file ./series_mt
./series_mt: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=7f47a9232a68852edffaab3c6875622a608c9202, for GNU/Linux 3.2.0, not stripped
[jari@ENVY-17 GDS]$ file ./gds2status
./gds2status: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.0.0, stripped

This is probably caused by missing 32-bit libraries(???)

This may relate, may not …

Somewhere in the article there is a reference to use i386 packages by using Snap but if the package hasn’t created a Snap install then that isn’t going to help.