Re: iup // fails to load Linux so

new topic     » goto parent     » topic index » view thread      » older message » newer message
jimcbrown said...

Try using uname to figure out what arch the shell is using.

Linux xshellz-free 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 GNU/Linux

jimcbrown said...

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).

Yes, I am (intentionally) trying to run a 32-bit binary on a 64-bit system... and yes I've got ld-linux.so.2 hard-coded in the ELF's interpreter section...
[EDIT] I also just tried a 64 bit binary, same deal.
[EDIT2] one more piece of the puzzle:

pete@xshellz-free:~/phix$ ldd ./phix 
        not a dynamic executable 
pete@xshellz-free:~/phix$ ldd ./pth 
        linux-vdso.so.1 (0x00007ffedef6f000) 
        /lib/snoopy.so (0x00007f84222f1000) 
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f8421f46000) 
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f8421d42000) 
        /lib/ld-linux.so.2 => /lib64/ld-linux-x86-64.so.2 (0x00007f84224fd000) 
pete@xshellz-free:~/phix$ 

It was the first server I could get onto, maybe I'll find something better.

[I'll also move this question here] Does anyone know of a free online 64-bit Ubuntu desktop, by any chance?

Pete

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu