gl-3.1-genned-names: 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/gl-3.1-genned-names - from package: piglit

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