ouruola863 发表于 2019-3-10 15:44:41

求助,Pureftpd install failed

求助高手
安装pureftpd出现如下错误:Making install in src
make: Entering directory `/root/lnmp1.5/src/pure-ftpd-1.0.47/src'
gcc-O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero-pie -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -L/usr/local/lib -o pure-ftpd main.o libpureftpd.a ../puredb/src/libpuredb_read.a-liconv -liconv -lssl -lcrypto -lcrypt
libpureftpd.a(libpureftpd_a-tls.o): In function `tls_init_library':
tls.c:(.text+0x121): undefined reference to `OPENSSL_init_ssl'
tls.c:(.text+0x12d): undefined reference to `OPENSSL_init_crypto'
tls.c:(.text+0x158): undefined reference to `TLS_server_method'
tls.c:(.text+0x180): undefined reference to `SSL_CTX_set_options'
tls.c:(.text+0x18d): undefined reference to `SSL_CTX_set_options'
tls.c:(.text+0x197): undefined reference to `SSL_CTX_set_options'
tls.c:(.text+0x1a4): undefined reference to `SSL_CTX_set_options'
tls.c:(.text+0x1b1): undefined reference to `SSL_CTX_set_options'
tls.c:(.text+0x1be): undefined reference to `SSL_CTX_clear_options'
tls.c:(.text+0x1cb): undefined reference to `SSL_CTX_clear_options'
tls.c:(.text+0x2ad): undefined reference to `SSL_CTX_set_options'
libpureftpd.a(libpureftpd_a-tls.o): In function `tls_init_data_session':
tls.c:(.text+0x925): undefined reference to `SSL_session_reused'
collect2: error: ld returned 1 exit status
make: *** Error 1
make: Leaving directory `/root/lnmp1.5/src/pure-ftpd-1.0.47/src'
make: *** Error 1
Copy configure files...
Add pureftpd service at system startup...
iptables: Index of insertion too big.
iptables: Index of insertion too big.
iptables: Index of insertion too big.
iptables: Saving firewall rules to /etc/sysconfig/iptables:
1001
Pureftpd install failed!

licess 发表于 2019-3-10 19:20:26

有可能你系统上的openssl有问题, openssl version 看一下
也可以修改pureftpd.sh,将其中 --with-tls 去掉再装

ouruola863 发表于 2019-3-11 11:30:59

回复 2# 的帖子

多谢军哥指导:) :) :) :) :)
页: [1]
查看完整版本: 求助,Pureftpd install failed