glsl-link-empty-prog-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-link-empty-prog-02 - from package: piglit

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