mathspic: 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/mathspic - from package: texlive-pictures

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