I'm running a headless Raspberry Pi 4b connected to Ethernet and controlled via SSH from my MacBook Pro. I used scp to move XMRig for Linux over to it, preset to mine. However, when attempting to run the file with the command ./xmrig, it will not run and gives the following error:
pi@raspberrypi:~ $ ls
xmrig
pi@raspberrypi:~ $ cd xmrig
pi@raspberrypi:~/xmrig $ ls
xmrig-6.16.2
pi@raspberrypi:~/xmrig $ cd xmrig-6.16.2/
pi@raspberrypi:~/xmrig/xmrig-6.16.2 $ ls
config.json SHA256SUMS xmrig
pi@raspberrypi:~/xmrig/xmrig-6.16.2 $ ./xmrig
-bash: ./xmrig: cannot execute binary file: Exec format error
pi@raspberrypi:~/xmrig/xmrig-6.16.2 $
What does this mean? Why won't it execute? Is there a version of XMRig for the Raspberry Pi specifically?