stencil-wrap: 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/lib64/piglit/bin/stencil-wrap - from package: piglit

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