go2prolog: 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/go2prolog - from package: libgo-perl

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