glib-config: 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/bin/glib-config - from package: glib-devel

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