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

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