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

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