glsl-explicit-location-02: 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-explicit-location-02 - from package: piglit

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