lgsend: 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/lgsend - from package: ion

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