February 17, 2020, 07:52:57 pm

News:

Have you visited the Allwinner Chipset wiki? - http://linux-sunxi.org/


Running x86 binaries on the Cubieboard with qemu

Started by Gbert0, April 24, 2013, 10:41:33 am

Previous topic - Next topic

Gbert0

I'm trying to run a little game server on the Cubieboard, but the executable I'm trying to run is compiled on a x86 system and there is no source code so I want to run it with qemu-i386 in usermode.

I'm running into one little problem however, I get "/lib/ld-linux.so.2: no such file or directory" when running the program with qemu-i386.

This is probably because I don't have the binaries installed to run x86 executables.

I hope someone could help me out running x86 on this armhf system.


lawrence

April 28, 2013, 11:01:07 am #2 Last Edit: April 28, 2013, 11:09:41 am by lawrence
See http://unix.stackexchange.com/questions/33268/running-debian-i386-binary-on-debian-armel-via-qemu

Answers the same question.
(Basically download that deb, unpack and stick files in appropriate places).

Alternately, copy it over from an x86 32bit debian or other linux install, as thats what its from. (the dynamic linker file)

Gbert0

Quote from: BigWhoop on April 28, 2013, 10:49:41 am
which OS?

Debian Wheezy for Raspberry Pi

Quote from: lawrence on April 28, 2013, 11:01:07 am
See http://unix.stackexchange.com/questions/33268/running-debian-i386-binary-on-debian-armel-via-qemu

Answers the same question.
(Basically download that deb, unpack and stick files in appropriate places).

Alternately, copy it over from an x86 32bit debian or other linux install, as thats what its from. (the dynamic linker file)

Thanks for you help, but the package from Optware is for armel and does not work on armhf. Can I get a similar package for armhf systems?

I guess I could copy it from another x86 installation, but I have no idea how to do that.