2

我正在尝试在 Oracle Linux 6.4 x86_64 上将 gpg (GnuPG) 从 2.0.14 升级到 2.2 从下面的位置下载最新版本的 gnupg 和依赖库包。 https://gnupg.org/download/index.html 要安装 GPG 及其依赖项,请运行以下命令。

./configure --prefix=/usr
make
make install

"./configure" 运行时没有任何错误,但是在为依赖库 pacakges "libgcrypt-1.8.6","libassuan-2.5.3" 和 "libksba-1.4.0" 执行 "make" 和 "make install" 时遇到错误”。注意:安装依赖库包“npth-1.6”和“libgpg-error-1.38”没有任何错误。

下面是遇到的错误。

libtool: link: (cd ".libs" && rm -f "libgcrypt.so.20" && ln -s "libgcrypt.so.20.2.6" "libgcrypt.so.20")
libtool: link: (cd ".libs" && rm -f "libgcrypt.so" && ln -s "libgcrypt.so.20.2.6" "libgcrypt.so")
libtool: link: ( cd ".libs" && rm -f "libgcrypt.la" && ln -s "../libgcrypt.la" "libgcrypt.la" )
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -g -O2 -fvisibility=hidden -fno-delete-null-pointer-checks -Wall   -o mpicalc mpicalc-mpicalc.o libgcrypt.la  -lgpg-error
libtool: link: gcc -g -O2 -fvisibility=hidden -fno-delete-null-pointer-checks -Wall -o .libs/mpicalc mpicalc-mpicalc.o  ./.libs/libgcrypt.so -lgpg-error
./.libs/libgcrypt.so: undefined reference to `gpgrt_ferror'
./.libs/libgcrypt.so: undefined reference to `gpgrt_fopenmem'
./.libs/libgcrypt.so: undefined reference to `gpgrt_lock_lock'
./.libs/libgcrypt.so: undefined reference to `gpgrt_lock_destroy'
./.libs/libgcrypt.so: undefined reference to `gpgrt_lock_unlock'
./.libs/libgcrypt.so: undefined reference to `gpgrt_lock_init'
./.libs/libgcrypt.so: undefined reference to `gpg_err_set_errno'
./.libs/libgcrypt.so: undefined reference to `gpgrt_rewind'
./.libs/libgcrypt.so: undefined reference to `gpgrt_fprintf'
./.libs/libgcrypt.so: undefined reference to `gpgrt_get_syscall_clamp'
./.libs/libgcrypt.so: undefined reference to `gpgrt_fclose'
./.libs/libgcrypt.so: undefined reference to `gpgrt_fclose_snatch'
collect2: ld returned 1 exit status
make[2]: *** [mpicalc] Error 1
make[2]: Leaving directory `/tmp/gpginstall/libgcrypt-1.8.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/gpginstall/libgcrypt-1.8.6'
make: *** [all] Error 2

其他库安装也遇到类似错误。

OracleLinux6.4 是否支持 GPG2.2?我可以在 RHEL7 上从 GPG2.0 升级到 2.2

4

0 回答 0