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

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/freetype-config - from package: libfreetype6-dev

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