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

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