amd64-mingw32msvc-ar: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/amd64-mingw32msvc-ar - from package: mingw32-binutils

You may install the required package with command apt-get install {package}
Error in other languages:
amd64-mingw32msvc-ar: bevel nie gevind nie
amd64-mingw32msvc-ar: comandă negăsită
amd64-mingw32msvc-ar: comando não encontrado
amd64-mingw32msvc-ar: commande introuvable
amd64-mingw32msvc-ar: command not found
amd64-mingw32msvc-ar: käsku ei ole
amd64-mingw32msvc-ar: không tìm thấy lệnh
amd64-mingw32msvc-ar: komanda nerasta
amd64-mingw32msvc-ar: Kommando nicht gefunden.
amd64-mingw32msvc-ar: kommandot finns inte
amd64-mingw32msvc-ar: komut yok
amd64-mingw32msvc-ar: nie znaleziono polecenia
amd64-mingw32msvc-ar: níor aimsíodh an t-ordú
amd64-mingw32msvc-ar: no se encontró la orden
amd64-mingw32msvc-ar: no s'ha trobat l'ordre
amd64-mingw32msvc-ar: opdracht niet gevonden
amd64-mingw32msvc-ar: parancs nem található
amd64-mingw32msvc-ar: perintah tidak ditemukan
amd64-mingw32msvc-ar: príkaz nenájdený
amd64-mingw32msvc-ar: příkaz nenalezen
amd64-mingw32msvc-ar: команда не найдена
amd64-mingw32msvc-ar: командата не е открита
amd64-mingw32msvc-ar: 命令找不到
amd64-mingw32msvc-ar: コマンドが見つかりません