tex-srgb: 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/tex-srgb - from package: piglit

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