cb_share_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/cb_share_config - from package: codeblocks

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