gpg-error: 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/gpg-error - from package: libgpg-error

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

On Debian possible default full paths are:

/usr/bin/gpg-error - from package: libgpg-error-dev

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