Shape_PointInPoly: 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/Shape_PointInPoly - from package: shapelib

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