rgtc-teximage-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/rgtc-teximage-02 - from package: piglit

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