Execute x86_64 into aarch64 arquitecture
#1
Hello. How are you? I have a question... Could I execute an excutable x86_64 file into the Debian 9 Stretch for Pine Rock64? I understand the Debian is aarch64 and when I try to execute my file (Xonotic server) in 32bits (I think this is x86_64) the terminal write me "Exec format error". I read the problem is the architecture for was compilated. In other platforms there are some solucions like install libc6:i386 but not work here. Coul you help me please? Many thanks guys!

P.D.: My native language is not English. I hope this text was good for read and understand xD.
  Reply
#2
I'd look into qemu, WINE, dosbox.  There might be something better.  I used to run some Windows app under WINE 10 years ago before I was weaned off of Windows.  dosbox will run Microsoft GWBASIC, circa 1985,   I don't know anything about 64 bit Windows stuff.

Either with apt search or Synaptic do some searches for x86 and emulator, things like that. It won't be specific to the Rock64, it's just Linux emulating Microsoft. Efficiency is probably not wonderful.
  Reply
#3
I'm trying to run the katalon x86_64 application on rock64 ubuntu as well. Getting not executable seems to be that it's b/c it's aarch64 and not x86_64.

uname -a

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Helvetica Neue'; color: #e4af0a} span.s1 {color: #000000} span.s2 {color: #e4af0a} span.s3 {color: #454545}
wget https://download.katalon.com/10.0.1/Katalon_Studio_Linux_64-10.0.1.tar.gz 
tar -xvzf Katalon_Studio_Linux_64-10.0.1.tar.gz 
cd Katalon_Studio_Linux_64-10.0.1
file ./katalon
  Reply
#4
(03-09-2019, 01:34 PM)lastlink Wrote: I'm trying to run the katalon x86_64 application on rock64 ubuntu as well. Getting not executable seems to be that it's b/c it's aarch64 and not x86_64.

uname -a

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Helvetica Neue'; color: #e4af0a} span.s1 {color: #000000} span.s2 {color: #e4af0a} span.s3 {color: #454545}
wget https://download.katalon.com/10.0.1/Katalon_Studio_Linux_64-10.0.1.tar.gz 
tar -xvzf Katalon_Studio_Linux_64-10.0.1.tar.gz 
cd Katalon_Studio_Linux_64-10.0.1
file ./katalon

I've been able to run x86_64 (aka amd64) binaries on my pine64 by using qemu-user. I don't use Ubuntu so I don't know how to get it, but you might try something like:


Code:
apt-get install qemu


But chances are that application is linked to other libraries, so you would need to have the amd64 versions of those as well.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  irradium (based on crux linux) Rock64 riscv64, aarch64 mara 0 51 03-24-2024, 01:07 PM
Last Post: mara
  slarm64 (unofficial slackware) Rock64 RK3328 (aarch64) mara 133 186,427 10-09-2023, 03:31 AM
Last Post: mara
  Rock64 CRUX-ARM (aarch64) mara 1 2,437 12-21-2021, 04:16 PM
Last Post: mara

Forum Jump:


Users browsing this thread: 1 Guest(s)