Running 32-bit code in Ubundu 64-bit installation error - no such file or directory

Why do I get a "No such file or directory" error when I run a 32-bit executable in a 64-bit Ubundu installation?

I expect: a message saying "file is invalid", or 32-bit code runs correctly.

Details below:

user@user-desktop :~/32_64$ ls myfile32bit myfile64bit user@user-desktop :~/32_64$ file myfile32bit myfile32bit: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped user@user-desktop :~/32_64$ file myfile64bit myfile64bit: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped user@user-desktop :~/32_64$ ls -l total 1532 -rwxrwxrwx 1 user user 126381 2011-10-11 13:20 myfile32bit -rwxrwxrwx 1 user user 146785 2011-10-22 12:46 myfile64bit user@user-desktop :~/32_64$ ./myfile64bit Hello World user@user-desktop :~/32_64$ ./myfile32bit -bash: ./myfile32bit: No such file or directory user@user-desktop :~/32_64$ uname -a Linux user-desktop 2.6.32-33-generic #70-Ubuntu SMP Thu Jul 7 21:13:52 UTC 2011 x86_64 GNU/Linux 
+6
source share
3 answers

Due to the time march, the answer designated as correct no longer works. Starting with version 13, the ia32-libs package no longer exists. Instead, you should install the following:

 lib32z1 lib32ncurses5 lib32bz2-1.0 

This solved the issue for me with release 14.

More details here: http://community.secondlife.com/t5/Second-Life-Viewer/Ubuntu-13-10-and-the-death-of-ia32-libs/td-p/2269003

+3
source

The following link worked for me. I had a similar problem with my Ubuntu 11.10 64 bit, when I tried to perform a 32-bit eclipse it told me "There is no such file or directory." Follow this link:

https://askubuntu.com/questions/147400/problems-with-eclipse-and-android-sdk

+2
source

Source: https://habr.com/ru/post/905270/


All Articles