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

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

On Debian possible default full paths are:

/usr/bin/libgcrypt-config - from package: libgcrypt20-dev

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