bgp_print_routes: 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/lib/xorp/bin/bgp_print_routes - from package: xorp

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