ecl-config: 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 Debian possible default full paths are:

/usr/bin/ecl-config - from package: ecl

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