In the past day, I've found at least 4 binaries that say "bin-name: No such file or directory" when I try to run them. Even if I type part of the name and tab complete it, I get the same error. I'm on an x86_64 architecture.
Output of file
:
fez-09152013-bin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
dynamically linked (uses shared libs), for GNU/Linux 2.6.24,
BuildID[sha1]=0x78612e4aac547367548dcc7cc3067c3cfcf2f177, stripped
Output of strace
:
execve("./fez-09152013-bin", ["./fez-09152013-bin"], [/* 23 vars */]) = -1 ENOENT (No such file or directory)
dup(2) = 3
fcntl(3, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE)
fstat(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3fda17a000
lseek(3, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(3, "strace: exec: No such file or di"..., 40strace: exec: No such file or directory
) = 40
close(3) = 0
munmap(0x7f3fda17a000, 4096) = 0
exit_group(1) = ?
Output of ldd
:
Not a dynamic executable
Output of strings
is way too long to indent, so here's a link: http://pastebin.com/t7MmugLY
apt-get error:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
ia32-libs : Depends: ia32-libs-i386 but it is not installable
E: Unable to correct problems, you have held broken packages.
ls -l bin-name
andfile bin-name
andstrace bin-name
? – michas Sep 20 '13 at 21:15ldd bin-name
. – ott-- Sep 20 '13 at 21:22file
saysdynamic
andldd
saysnot dynamic
. It could be a binary from an old ld-so version. So try thatstrings file | grep ld-linux
. – ott-- Sep 20 '13 at 21:34/lib/ld-linux.so.2
– tkbx Sep 20 '13 at 21:35strings bin-name
to see what the files might be – slm Sep 20 '13 at 21:14