ocamlprof: 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/ocamlprof - from package: ocaml

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

On Debian possible default full paths are:

/usr/bin/ocamlprof - from package: ocaml-nox

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