To expand on answer, there are at least three scenarios resulting in this error:
#INSTALL GFORTRAN WITH LINUXBREW LINUX INSTALL#
Since 11.10 (oneiric) introduced multiarch support, you can still install ia32-libs, but you can choose a finer-grained approach, it's enough to get libc6-i386 (plus any other necessary library). You may need to install additional libraries (you'll get an explicit error message if you do). In Ubuntu up to 11.04, to run a 32-bit binary on a 64-bit installation, you need to install the ia32-libs package. The main exception is that you can run 32-bit (x86, a.k.a. With a few exceptions, you can only run a binary for the processor architecture that your release of Ubuntu is for. The file command will tell you just what this binary is. If you want the technical version of this explanation, read Getting “Not found” message when running a 32-bit binary on a 64-bit system. Unfortunately, the channel through which the error is reported only has room for the error code and not for this extra information that it's really the runtime environment that's to blame. What it's telling you is that a key component of the runtime environment necessary to run the program is missing.
The error message in this last case is admittedly confusing. The file exists, and you can even read it (for example, the command file shank-linux-120720110-1-bin displays something like “ELF 32-bit LSB executable …”), and yet when you try to execute it you're told that the file doesn't exist.There is a file by that name, but it's a dangling symbolic link.I presume you've checked that the file does exist (perhaps because the shell completes it). There are three cases where you can get the message “No such file or directory”: You're probably trying to run a 32-bit binary on a 64-bit system that doesn't have 32-bit support installed.