createshaderprogram-attached-shaders: 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-attached-shaders - from package: piglit

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