glx-destroycontext-2: 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-destroycontext-2 - from package: piglit

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