Opened 3 years ago
Closed 3 years ago
#843 closed issue (handled)
ARB fails with 'Exec format error' (in Ubuntu through Parallels on an M1 Mac)
Reported by: | guest | Owned by: | westram |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | ARB_NTREE | Version: | arb-7.0 |
Keywords: | Cc: |
Description
Good day,
I am trying to run ARB version 7.0 on 64Bit Ubuntu 20.04 LTS through Parallels on an M1 Mac Mini (2020) version 12.2. I installed arb-7.0.ubuntu2004-amd64.tgz.
My guess is that this is because I am running ARB through a virtual machine, based on this post from 7 years ago, in which someone gets the same error but they were using 32bit Ubuntu and 64Bit ARB: http://bugs.arb-home.de/ticket/635. Either way, I would really like to get ARB going on Ubuntu through parallels if it is possible.
Below is the terminal session to produce the error:
parallels@ubuntu-linux-20-04-desktop:~$ arb Using ARBHOME='/home/parallels/arb' Using properties from /home/parallels/.arb_prop Please wait while the program ARB is starting ..... Waiting for '/home/parallels/.arb_tmp/sockets/arb_launcher.2566'.. Fri 11 Feb 2022 01:30:00 PM MST arb server.log created by arb_launcher [arb_launcher[0]: log for ARB_PID='2566'] [arb_launcher[0]: Starting 'arb_ntree'..] /home/parallels/arb/bin/arb_launcher: line 31: /home/parallels/arb/bin/arb_ntree: cannot execute binary file: Exec format error [arb_launcher[0]: 'arb_ntree' has terminated with error 126] [arb_launcher[0]: Still have 1 arb processes..] [arb_launcher[0]: All launched processes terminated] [arb_launcher[0]: cleaning up arb session] No matching processes detected. rmdir: failed to remove '/home/parallels/.arb_prop/logs/20220211_133000.2575': Directory not empty Session log has been stored in /home/parallels/.arb_prop/logs/session.20220211_133000.2575.tgz and is also accessible via /home/parallels/ARB_last_session.tgz
Run Log:
[arb_launcher[0]: log for ARB_PID='2817'] [arb_launcher[0]: Starting 'arb_ntree'..] /home/parallels/arb/bin/arb_launcher: line 31: /home/parallels/arb/bin/arb_ntree: cannot execute binary file: Exec format error [arb_launcher[0]: 'arb_ntree' has terminated with error 126] [arb_launcher[0]: Still have 1 arb processes..] [arb_launcher[0]: All launched processes terminated] [arb_launcher[0]: cleaning up arb session] No matching processes detected. abnormal termination (NTREE_STATUS='crash') Fri 11 Feb 2022 01:30:51 PM MST End of log (now archive into /home/parallels/.arb_prop/logs/session.20220211_133049.2823.tgz)
Any help is greatly appreciated! Thank you,
Chantel
Change History (2)
comment:1 Changed 3 years ago by westram
- Owner changed from devel to westram
- Status changed from new to accepted
- Summary changed from ARB Fails to Run to ARB fails with 'Exec format error' (in Ubuntu through Parallels on an M1 Mac)
comment:2 Changed 3 years ago by westram
- Resolution set to handled
- Status changed from accepted to closed
probably solved
Hi Chantel,
i think your ubuntu runs an arm64 (or aarch64) architecture while the arb binaries are amd64 (aka x86_64). These architectures are not binary compatible.
You can check the architecture of your ubuntu using
We do not support arm64 architecture for arb, that means it is not known whether arb would build there. Even if it would build w/o many changes, it would need in-depth testing to ensure arb works correctly, before anyone should use it.
There are possibilities to run amd64 binaries on arm architectures (e.g. see this discussion on stackexchange).
You should be aware that
Another possibility would be to build arb using homebrew-arb.
There is a section about Using a Mac with M1 processor and we know at least one who works with this setup
Ralf