x86_64-linux-gnu-gprof: 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/x86_64-linux-gnu-gprof - 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-gprof - from package: binutils

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