osgwidgetmenu: 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/osgwidgetmenu - from package: openscenegraph

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