Debug 发表于 2023-7-26 14:56:06

宝塔面板安装pure-ftpd失败

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本: 7.5.1
系统版本: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
makeall-recursive
make: Entering directory `/root/pure-ftpd-1.0.49'
Making all in puredb
make: Entering directory `/root/pure-ftpd-1.0.49/puredb'
Making all in src
make: Entering directory `/root/pure-ftpd-1.0.49/puredb/src'
make: Nothing to be done for `all'.
make: Leaving directory `/root/pure-ftpd-1.0.49/puredb/src'
make: Entering directory `/root/pure-ftpd-1.0.49/puredb'
make: Nothing to be done for `all-am'.
make: Leaving directory `/root/pure-ftpd-1.0.49/puredb'
make: Leaving directory `/root/pure-ftpd-1.0.49/puredb'
Making all in src
make: 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: *** Error 1
make: Leaving directory `/root/pure-ftpd-1.0.49/src'
make: *** Error 1
make: Leaving directory `/root/pure-ftpd-1.0.49'
make: *** 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.1u30 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



宝塔用户_jfgwxs 发表于 2025-11-11 16:29:38

怎么解决的
页: [1]
查看完整版本: 宝塔面板安装pure-ftpd失败