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

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