FittedBondCurve: 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

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/FittedBondCurve - from package: quantlib-examples

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