1. 程式人生 > >centos中為php安裝GnuPG擴充套件

centos中為php安裝GnuPG擴充套件

基本上所有需要用到的包和庫都在官網:

3.安裝gpgme的時候,會提示我們:

configure:
***
*** You need libgpg-error to build this program.
**  This library is for example available at
***   ftp://ftp.gnupg.org/gcrypt/libgpg-error
*** (at least version 1.11 is required.)
***
configure:
***
*** You need libassuan to build this program.
*** 
This library is for example available at *** ftp://ftp.gnupg.org/gcrypt/libassuan/ *** (at least version 2.0.2 (API 2) is required). *** configure: error: *** *** Required libraries not found. Please consult the above messages *** and install them before running configure again. *** [[email protected]
gpgme-1.6.0]#

所以我們還需要安裝libgpg-error和libassuan擴充套件,這兩個擴充套件在www.gnupg.org官網都有的。