Exec format error

For topics which do not fit in other specific forums.
misterrocks
Posts: 88
Joined: Tue Jan 11, 2022 1:43 am
Has thanked: 43 times
Been thanked: 2 times

Exec format error

Unread post by misterrocks »

I'm trying to temporarily use my MiSTer system for a non-gaming purpose and I need to run a Linux binary that's on a second SD card attached with a USB reader, but I'm getting an Exec format error. Anything I can try?

hking0036
Posts: 7
Joined: Sat Apr 08, 2023 7:40 pm
Has thanked: 4 times
Been thanked: 2 times

Re: Exec format error

Unread post by hking0036 »

You need to rebuild your binary for the MiSTer. "Exec format error" is to say that your machine cannot interpret the binary in the file as CPU instructions; Ensure that you get an ARM binary and not an x86 one if it was pre-compiled.

If it is a shell script, ensure that the header is included.

Post Reply