今天用AutoOVPN在VPS安装,编译插件的时候出错
[root@mm-house radiusplugin_v2.0b_beta2]# make
OBJ: RadiusClass/RadiusAttribute.o
In file included from RadiusClass/RadiusAttribute.cpp:22:
RadiusClass/RadiusAttribute.h:24:20: error: gcrypt.h: No such file or directory
RadiusClass/RadiusAttribute.cpp: In member function 'char* RadiusAttribute::makePasswordHash(const char*, char*, const char*, const char*)':
RadiusClass/RadiusAttribute.cpp:156: error: 'gcry_md_hd_t' was not declared in this scope
RadiusClass/RadiusAttribute.cpp:156: error: expected `;' before 'context'
RadiusClass/RadiusAttribute.cpp:164: error: 'context' was not declared in this scope
RadiusClass/RadiusAttribute.cpp:164: error: 'GCRY_MD_MD5' was not declared in this scope
RadiusClass/RadiusAttribute.cpp:164: error: 'gcry_md_open' was not declared in this scope
RadiusClass/RadiusAttribute.cpp:165: error: 'gcry_md_write' was not declared in this scope
RadiusClass/RadiusAttribute.cpp:167: error: 'gcry_md_read' was not declared in this scope
RadiusClass/RadiusAttribute.cpp:212: error: 'gcry_md_close' was not declared in this scope
make: *** [RadiusClass/RadiusAttribute.o] Error 1
yum install crypt*
yum install libgcrypt*
升级之后,解决!
阅读(9921) | 评论(0) | 转发(0) |