Page 1 of 1

Exec format error

Posted: 22 Jan 2021, 03:09
by lyz
Hi, I'm trying to run CoppeliaSim on macbookpro m1 macOS Big Sur 11.0.1. But I found the robot operation system(ROS) cannot install successfully on mac. So I install a ubuntu 20.04 virtual machine by parallel desktop. then I unzip the coppeliaSim on ubuntu20.04 vm and run it, but coms up this error: "cannot execute binary file: Exec format error". Have you any ideas to solve it?
I switched to root and ran it again, but it failed.

Re: Exec format error

Posted: 22 Jan 2021, 11:05
by coppelia
Hello,

are you sure you have installed the correct package? i.e. the one for CoppeliaSim on Ubuntu 20.04?

Cheers

Re: Exec format error

Posted: 23 Jan 2021, 06:04
by lyz
Yes, I'm sure. version: CoppeliaSim_Edu_V4_1_0_Ubuntu20_04.tar.xz. Is it matter with apple m1 chip?

-rw-r--r--@ 1 lyz staff 149M 1 19 11:23 CoppeliaSim_Edu_V4_1_0_Ubuntu20_04.tar.xz

Re: Exec format error

Posted: 26 Jan 2021, 15:45
by coppelia
I have no idea... it must be something specific with your VM or your system, never saw that before...

Cheers

Re: Exec format error

Posted: 09 Feb 2021, 17:23
by fferri
what is the output of running uname -a in a terminal in your VM?

Re: Exec format error

Posted: 13 Feb 2021, 13:41
by lyz
Hi, fferri
This is what is displayed:

Linux ubuntu20 5.8.0-41-generic #46~20.04.1-Ubuntu SMP Mon Jan 18 17:56:04 UTC 2021 aarch64 aarch 64 aarch64 GNU/Linux

Thanks a lot.

Re: Exec format error

Posted: 14 Feb 2021, 13:59
by fferri
ARM64 (aarch64) architecture is not supported.

You need x86_64 (a.k.a. amd64).

Re: Exec format error

Posted: 10 Mar 2021, 08:48
by lyz
Er... OK, thank you!

Re: Exec format error

Posted: 12 Dec 2022, 15:57
by Kraftwerk
Given that this issue is quite old, is there a solution for the aforementioned problem?
I have the same problem when trying to work with ROS and Coppelia in Ubuntu on a M1-Chip.

Re: Exec format error

Posted: 14 Dec 2022, 15:28
by coppelia
Hello,

we do not support M1 chips right now. But might in near future on macOS

Cheers