当前位置:论坛首页 > Linux面板 > 求助

宝塔面板安装pure-ftpd失败

发表在 Linux面板2023-7-26 14:56 [复制链接] 1 3185

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本: [url=]7.5.1[/url]

系统版本:CentOS Linux release 7.9.2009

问题描述:无法安装pure-ftpd,其他应用可正常安装。

相关截图(日志、错误):
checking for timegm... yes
checking for tzset... yes
checking for utime... yes
checking for utimes... yes
checking for mknod... yes
checking for mkfifo... yes
checking for random... yes
checking for srandomdev... no
checking for arc4random... no
checking for arc4random_stir... no
checking for arc4random_addrandom... no
checking for closefrom... no
checking for explicit_bzero... no
checking for getpwnam_shadow... no
checking whether statvfs64() is defined... yes
checking whether snprintf is C99 conformant... done
checking whether getgroups 0 is sane... no
checking whether realpath likes unreadable directories... yes
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... no
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'
  CCLD     pure-ftpd
libpureftpd.a(libpureftpd_a-tls.o): In function `tls_create_new_context':
tls.c.text+0xa1): undefined reference to `TLS_server_method'
tls.c.text+0xc9): undefined reference to `SSL_CTX_set_options'
tls.c.text+0xd6): undefined reference to `SSL_CTX_set_options'
tls.c.text+0xe0): undefined reference to `SSL_CTX_set_options'
tls.c.text+0xed): undefined reference to `SSL_CTX_set_options'
tls.c.text+0xfa): undefined reference to `SSL_CTX_set_options'
libpureftpd.a(libpureftpd_a-tls.o):tls.c.text+0x107): more undefined references to `SSL_CTX_set_options' follow
libpureftpd.a(libpureftpd_a-tls.o): In function `tls_create_new_context':
tls.c.text+0x114): undefined reference to `SSL_CTX_clear_options'
tls.c.text+0x121): undefined reference to `SSL_CTX_clear_options'
tls.c.text+0x24b): undefined reference to `SSL_CTX_set_options'
libpureftpd.a(libpureftpd_a-tls.o): In function `ssl_servername_cb':
tls.c:(.text+0x5d8): undefined reference to `SSL_CTX_get_options'
tls.c:(.text+0x5f3): undefined reference to `SSL_set_options'
tls.c:(.text+0x60d): undefined reference to `SSL_CTX_get_options'
tls.c:(.text+0x628): undefined reference to `SSL_set_options'
libpureftpd.a(libpureftpd_a-tls.o): In function `tls_init_library':
tls.c:(.text+0x71c): undefined reference to `OPENSSL_init_ssl'
tls.c:(.text+0x728): undefined reference to `OPENSSL_init_crypto'
collect2: error: ld returned 1 exit status
make[2]: *** [pure-ftpd] Error 1
make[2]: Leaving directory `/root/pure-ftpd-1.0.49/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/pure-ftpd-1.0.49'
make: *** [all] Error 2
========================================================
CentOS Linux release 7.9.2009 (Core)
Bit:64 Mem:3775M Core:4 gcc:4.8.5 cmake:2.8.12.2
Linux 3.10.0-1160.15.2.el7.x86_64 x86_64



=============== OpenSSL 版本信息================
-bash-4.2# openssl version -a
OpenSSL 1.1.1u  30 May 2023
built on: Wed Jul 26 04:48:58 2023 UTC
platform: linux-x86_64
options:  bn(64,64) rc4(16x,int) des(int) idea(int) blowfish(ptr)
compiler: gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall -O3 -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAESNI_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DNDEBUG
OPENSSLDIR: "/usr/local/openssl"
ENGINESDIR: "/usr/local/openssl/lib/engines-1.1"
Seeding source: os-specific



使用道具 举报 只看该作者 回复
发表于 2025-11-11 16:29:38 | 显示全部楼层
怎么解决的
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表