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

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