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

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