Quantcast
Viewing all articles
Browse latest Browse all 6168

bash: No such file or directory (for 32-bit binary on Ubuntu 20.04) [closed]

I am trying to run an older, 32-bit binary on Ubuntu 20.04 on an x86_64 machine. Here is the profile of the binary from file:

$ file /usr/local/diamond/3.13/modeltech/linuxloem/vsim/usr/local/diamond/3.13/modeltech/linuxloem/vsim: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=b8557f9eb74b21146d0eba49769f30f475422d26, stripped

When I execute the binary, I get this error:

$ /usr/local/diamond/3.13/modeltech/linuxloem/vsimbash: /usr/local/diamond/3.13/modeltech/linuxloem/vsim: No such file or directory

I cannot figure out what the problem is. Permissions on the binary are fine (mwg is my user and group):

$ ls -la /usr/local/diamond/3.13/modeltech/linuxloem/vsim-rwxr-xr-x 1 mwg mwg 7772676 Jul 18  2023 /usr/local/diamond/3.13/modeltech/linuxloem/vsim

The same problem occurs when trying to run the binary as root (i.e., prefixing the command with sudo).

The only thing I can think of is that this binary is expecting an interpreter at /lib/ld-linux.so.2 (from the file output above), and this path does not exist on my system. This answer gave me the idea that I may need to apt install binutils, but I tried that, and it did not fix the problem.

Does anyone have a suggestion for how I can run this binary? Or how to further diagnose the problem?


Viewing all articles
Browse latest Browse all 6168

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>