Can't use xmrig in rpi4

alfonsop123@raspberrypi:~/xmrig-6.21.3 $ sudo ./xmrig
./xmrig: 1: ELF: not found
./xmrig: 2: Syntax error: word unexpected (expecting ")")
alfonsop123@raspberrypi:~/xmrig-6.21.3 $ rm config.json
rm: remove write-protected regular file 'config.json'? y
alfonsop123@raspberrypi:~/xmrig-6.21.3 $ sudo ./xmrig
./xmrig: 1: ELF: not found
./xmrig: 2: Syntax error: word unexpected (expecting ")")
alfonsop123@raspberrypi:~/xmrig-6.21.3 $