x86_64-linux-gnu-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

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 CentOS possible default full paths are:

/usr/bin/x86_64-linux-gnu-nm - from package: binutils-x86_64-linux-gnu

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/x86_64-linux-gnu-nm - from package: binutils

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