spatialite_osm_raw: 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/spatialite_osm_raw - from package: spatialite-bin

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