vsFTPD安裝錯誤
同標題# ./vsftpd.sh
=========================================================================
Vsftpd for LNMP V0.7,Written by Licess
=========================================================================
LNMP is a tool to auto-compile & install Nginx+MySQL+PHP on Linux
This script is a tool to install VSftp for LNMP
For more information please visit http://www.lnmp.org/
=========================================================================
Press any key to start install VSftpd...
--2011-11-27 21:44:47--http://soft.vpser.net/ftp/vsftpd/vsftpd-2.2.2.tar.gz
Resolving soft.vpser.net... 96.44.153.111
Connecting to soft.vpser.net|96.44.153.111|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 185562 (181K)
Saving to: “vsftpd-2.2.2.tar.gzâ€
100%[===============================>] 185,562 --.-K/s in 0.1s
2011-11-27 21:44:48 (1.26 MB/s) - “vsftpd-2.2.2.tar.gzâ€
download vsftpd package completed!
installing vsftpd 2.2.2.......
useradd: user 'nobody' already exists
gcc -c main.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c utility.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c prelogin.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c ftpcmdio.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c postlogin.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c privsock.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c tunables.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c ftpdataio.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c secbuf.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c ls.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c postprivparent.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c logging.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c str.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c netstr.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c sysstr.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c strlist.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c banner.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c filestr.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c parseconf.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c secutil.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c ascii.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c oneprocess.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c twoprocess.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c privops.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c standalone.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c hash.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c tcpwrap.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c ipaddrparse.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c access.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c features.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c readwrite.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c opts.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c ssl.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c sslslave.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c ptracesandbox.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c ftppolicy.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c sysutil.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -c sysdeputil.c -O2 -Wall -W -Wshadow-idirafter dummyinc
gcc -o vsftpd main.o utility.o prelogin.o ftpcmdio.o postlogin.o privsock.o tunables.o ftpdataio.o secbuf.o ls.o postprivparent.o logging.o str.o netstr.o sysstr.o strlist.o banner.o filestr.o parseconf.o secutil.o ascii.o oneprocess.o twoprocess.o privops.o standalone.o hash.o tcpwrap.o ipaddrparse.o access.o features.o readwrite.o opts.o ssl.o sslslave.o ptracesandbox.o ftppolicy.o sysutil.o sysdeputil.o -Wl,-s `./vsf_findlibs.sh`
/usr/bin/ld: cannot find -lcap
collect2: ld returned 1 exit status
make: *** Error 1
./vsftpd.sh: line 56: /usr/local/sbin/vsftpd: No such file or directory
setsebool:SELinux is disabled.
iptables: Saving firewall rules to /etc/sysconfig/iptables:
iptables: Flushing firewall rules:
iptables: Setting chains to policy ACCEPT: mangle filter na
iptables: Unloading modules:
iptables: Applying firewall rules:
useradd: warning: the home directory already exists.
Not copying any file from skel directory into it.
Terminated
updatedb
locate libcap
看一下libcap的位置
再export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/lib
后再安装试试 我的也是这个错误。。。
页:
[1]