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

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

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