createshaderprogram-bad-type: 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/createshaderprogram-bad-type - from package: piglit

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