gl.pl: 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/share/ledgersmb/bin/gl.pl - from package: ledgersmb
/usr/share/sql-ledger/bin/lynx/gl.pl - from package: sql-ledger
/usr/share/sql-ledger/bin/mozilla/gl.pl - from package: sql-ledger

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