glx-query-drawable: 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-query-drawable - from package: piglit

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