i586-mingw32msvc-nm: 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/i586-mingw32msvc-nm - from package: mingw32-binutils

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