shptest: 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 CentOS possible default full paths are:

/usr/bin/shptest - from package: shapelib

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