osgearth_sharedlayer: 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/osgearth_sharedlayer - from package: osgearth

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