Possible Duplicate:
Can't execute some binaries in chroot environment (zsh: Not found)
I have something weird here. Cannot find a file although it is right there.
$ skype
command not found: skype
$ whereis skype
skype: /usr/bin/skype /usr/share/skype
$ /usr/bin/skype
file or directory not found: /usr/bin/skype
$ ls -l /usr/bin/skype
-rwxr-xr-x 1 root root 21362968 2011-06-08 12:26 /usr/bin/skype
$ type /usr/bin/skype
/usr/bin/skype is /usr/bin/skype
$ which skype
/usr/bin/skype
Any explanation for that? Happened only with skype so far, no matter if on zsh or bash. I'm on Ubuntu Natty 64, had not encountered anything like that before.
ldd /usr/bin/skype
? And why do you think that thetype
output is weird? That looks right to me. You might be thinking offile
. – Chris Down Jan 26 '12 at 13:19file
andwhich
? – Coren Jan 26 '12 at 13:28$ file /usr/bin/skype
/usr/bin/skype: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, stripped
– Johann Philipp Strathausen Jan 26 '12 at 13:30$ ldd /usr/bin/skype
the program is not dynamically linked
looks okay. but could it be that there's an issue with 32bit libraries, since I am on 64, just checking if the 32libs are there (shouldn't apt take care of that?) – Johann Philipp Strathausen Jan 26 '12 at 13:32