开发者社区 > 弹性计算 > 云服务器ECS > 正文

宝塔内安装Pure-Ftpd失败

已解决

云服务器 ECS

CentOS 8.2 64位

安装错误日志: checking whether you already have a standard MD5 implementation... no checking whether you already have a standard SHA1 implementation... no checking whether we are inside a Virtuozzo virtual host... no checking default TCP send buffer size... 16384 checking default TCP receive buffer size... 87380 checking for DH_new in -lcrypto... yes checking for SSL_accept in -lssl... yes checking for DH_get_2048_256... yes checking for TLS_server_method... yes configure: You have /dev/urandom - Great configure: You have /dev/random - Great checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating pam/Makefile config.status: creating man/Makefile config.status: creating gui/Makefile config.status: creating m4/Makefile config.status: creating pure-ftpd.conf config.status: creating puredb/Makefile config.status: creating puredb/src/Makefile config.status: creating man/pure-ftpd.8 config.status: creating man/pure-ftpwho.8 config.status: creating man/pure-mrtginfo.8 config.status: creating man/pure-uploadscript.8 config.status: creating man/pure-statsdecode.8 config.status: creating man/pure-quotacheck.8 config.status: creating man/pure-pw.8 config.status: creating man/pure-pwconvert.8 config.status: creating man/pure-authd.8 config.status: creating man/pure-certd.8 config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands configure: WARNING: unrecognized options: --with-rfc2640 make all-recursive make[1]: Entering directory '/root/pure-ftpd-1.0.49' Making all in puredb make[2]: Entering directory '/root/pure-ftpd-1.0.49/puredb' Making all in src make[3]: Entering directory '/root/pure-ftpd-1.0.49/puredb/src' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/root/pure-ftpd-1.0.49/puredb/src' make[3]: Entering directory '/root/pure-ftpd-1.0.49/puredb' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/root/pure-ftpd-1.0.49/puredb' make[2]: Leaving directory '/root/pure-ftpd-1.0.49/puredb' Making all in src make[2]: Entering directory '/root/pure-ftpd-1.0.49/src' CC alt_arc4random.o In file included from alt_arc4random.c:9: utils.h:5:11: fatal error: sodium.h: No such file or directory

include

^~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:929: alt_arc4random.o] Error 1 make[2]: Leaving directory '/root/pure-ftpd-1.0.49/src' make[1]: *** [Makefile:465: all-recursive] Error 1 make[1]: Leaving directory '/root/pure-ftpd-1.0.49' make: *** [Makefile:383: all] Error 2

CentOS Linux release 8.3.2011 Bit:64 Mem:1816M Core:1 gcc:8.3.1 cmake:3.11.4 Linux 4.18.0-240.1.1.el8_3.x86_64 x86_64 ERROR: pure-ftpd installation failed. |-Successify --- 命令已执行! ---

展开
收起
撸串 2022-03-14 13:02:36 5288 0
1 条回答
写回答
取消 提交回答
  • 亚马逊云科技合作伙伴解决方案架构师,亚马逊云科技User Group Leader,多年云计算经验,csdn/阿里云等平台优质作者,亚马逊云科技社区建设者,亚马逊云科技培训与认证云领袖合作作者,专注于云计算、云原生领域。
    推荐回答

    你好,从日志最后的几条信息可以看到缺失sodium.h文件,请您重新下载pure-ftpd压缩包,并且校验md5,再执行make

    2022-05-20 12:23:52
    赞同 展开评论 打赏

云服务器ECS是一种安全可靠、弹性可伸缩的IaaS级云计算服务。在这里你可以获取最新的ECS产品资讯、最前沿的技术交流以及优惠活动等信息,加速自己的技术成长。

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载