Perché viene visualizzato l'errore "Nessun file o directory" quando eseguo l'eseguibile a 32 bit in un'installazione Ubundu a 64 bit?Esecuzione di codice a 32 bit in Ubundu Errore di installazione a 64 bit - Nessun file o directory
Quello che mi aspetto è: un messaggio che "il file non è valido", OPPURE il codice a 32 bit viene eseguito correttamente.
dettagli di seguito:
[email protected]:~/32_64$ ls
myfile32bit myfile64bit
[email protected]:~/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
[email protected]:~/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
[email protected]:~/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
[email protected]:~/32_64$ ./myfile64bit
Hello World
[email protected]:~/32_64$ ./myfile32bit
-bash: ./myfile32bit: No such file or directory
[email protected]:~/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
Vedi anche [problema in 12.04] (https: // bugs. launchpad.net/ubuntu/+source/synaptic/+bug/971761) –