我从以下链接下载了vpnc客户端
https://www.unix-ag.uni-kl.de/~massar/vpnc/然后,我将vpnc安装在我的Linux红帽子机器(Version6.x)上,如下所示:
tar zxf vpnc-0.5.3.tar.gz
cd vpnc-0.5.3
make。
make
make: libgcrypt-config: Command not found
gcc -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings -DVERSION=\"0.5.3\" -c - o isakmp-pkt.o isakmp-pkt.c
In file included from isakmp-pkt.c:31:
math_group.h:38:20: error: gcrypt.h: No such file or directory
In file included from isakmp-pkt.c:31:
math_group.h:62: error: expected specifier-qualifier-list before âgcry_mpi_tâ
In file included from vpnc.h:24,
from isakmp-pkt.c:32:
tunip.h:43: error: expected specifier-qualifier-list before âgcry_cipher_hd_tâ
isakmp-pkt.c: In function âparse_isakmp_packetâ:
isakmp-pkt.c:823: warning: format â%dâ expects type âintâ, but argument 2 has type âsize_tâ
make: *** [isakmp-pkt.o] Error 1为什么我会有关于libgcrypt和libgcrypt的错误?那些rpm已经安装在我的机器上了,那么这里有什么问题呢?
我检查了rpm:它们安装在我的Linux机器上
rpm -qa | grep libgcrypt
libgcrypt-1.4.5-9.el6_2.2.x86_64
libgcrypt-1.4.5-9.el6_2.2.i686
rpm -qa | grep gcrypt
libgcrypt-1.4.5-9.el6_2.2.x86_64
libgcrypt-1.4.5-9.el6_2.2.i686注意-下面的链接描述了vpnc的安装:
http://floppsie.comp.glam.ac.uk/Glamorgan/gaius/networks/13.html
发布于 2014-04-28 20:52:37
您肯定错过了第二步,即您需要安装libgcrypt-devel包。
yum install libgcrypt-devel。您只为针对它链接的二进制文件安装了已编译的库;您没有允许针对它构建自己的二进制文件的开发包。
https://unix.stackexchange.com/questions/126978
复制相似问题