PHP gnupg - configure: error - Please reinstall the gpgme distribution

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Версия от 17:00, 20 января 2023; Admin iph (обсуждение | вклад) (Новая страница: «=== PHP gnupg - configure: error - Please reinstall the gpgme distribution === При установке php-gnupg через pecl возникла ошибка:...»)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к:навигация, поиск

PHP gnupg - configure: error - Please reinstall the gpgme distribution

При установке php-gnupg через pecl возникла ошибка:

checking for gawk... gawk
checking for gnupg support... yes, shared
checking for gnupg files in default path... not found
configure: error: Please reinstall the gpgme distribution
ERROR: `/tmp/pear/temp/gnupg/configure --with-php-config=/opt/php74/bin/php-config' failed


Решение для CentOS 7 - доустановить пакет gpgme-devel:

# yum install gpgme-devel

Решение для Ubuntu/Debian - доустановить пакет libgpgme11-dev:

# apt-get install libgpgme11-dev