cleanlinks: 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/cleanlinks - from package: imake

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

On Debian possible default full paths are:

/usr/bin/cleanlinks - from package: xutils-dev

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