cubemap-shader: 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

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

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