Re: iup // fails to load Linux so
- Posted by jimcbrown (admin) Feb 05, 2017
- 2957 views
Well, I signed up for a free online shell, uploaded phix and unzipped it, then...
pete@xshellz-free:~/phix$ ./phix -bash: ./phix: Permission denied pete@xshellz-free:~/phix$ ls -al phix -rw-r--r-- 1 pete users 2060140 Nov 26 14:08 phix pete@xshellz-free:~/phix$ chmod 777 phix pete@xshellz-free:~/phix$ ls -al phix -rwxrwxrwx 1 pete users 2060140 Nov 26 14:08 phix pete@xshellz-free:~/phix$ ./phix -bash: ./phix: No such file or directory pete@xshellz-free:~/phix$
uh?
Pete
Try using uname to figure out what arch the shell is using. The second error suggests that the kernel can't find the correct loader (i.e. not being able to find ld-linux.so.2 or ld-linux.so.1) - so you could be trying to run a 64bit binary on a 32bit-only system, or trying to run a 32bit binary on a 64bit system that doesn't have the 32-bit compatibility libraries installed. You could also be running on something enitrely different, like ARM or PowerPC or RISC. It's even possible that this is a shell that has, e.g., only the a.out loader but not the ELF loader (though that would be really unusual) or you might be trying to run a Linux/GNU binary on a FreeBSD system (which is possible but the FreeBSD system would require special compatibility libraries to be installed for that to work).