glx-create-context-core-profile: 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/glx-create-context-core-profile - from package: piglit

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