Hi!
I’ve tried to follow the installation guide but I get an error when executing:
~/bin/exercism
Error: Exec format error
I’ve tried the different arm x64 versions for Linux:
exercism-3.1.0-linux-armv5
exercism-3.1.0-linux-armv6
uname -m: “aarch64”
I run a virtual Ubuntu (22.10, arm, x64) on an M1 mac.
Best regards
Fredrik
IsaacG
April 18, 2023, 10:26am
2
What does the command file ~/bin/exercism
report?
Thank you for your response
The command returns:
/home/ubuntu/bin/exercism: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, Go BuildID=rg1nzPJeTBWDjkfJENP-/Ya8ZSQESpm7IRezbvN9w/BenFsQkcIpEeBZcg40z-/YdxIC5hXlgRF95Ox9VZV, stripped
So it seems that I have downloaded the wrong architecture.
I have downloaded the files:
exercism-3.1.0-linux-armv5.tar.gz
exercism-3.1.0-linux-armv6.tar.gz
And when I unpack them, both are for 32-bit architecture.
It seems that there are no app available for Ubuntu x64 on arm?
Best regards
Fredrik
IsaacG
April 18, 2023, 2:30pm
4
I have no clue. I didn’t build any of the executables. It’s possible all the Arm builds are x32. You can always install Go and build it from the source code on GitHub.
Thanks! I might give that a try :)