glsl-getattriblocation: 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/glsl-getattriblocation - from package: piglit

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