homepage
https://security.appspot.com/vsftpd.html
download here
https://security.appspot.com/downloads/vsftpd-2.3.5.tar.gz
copied to Linux server
gunzip vsftpd-2.3.5.tar.gz
tar xvf vsftpd-2.3.5.tar
cd vsftpd-2.3.5
/lib/libcap.so.1: could not read symbols: File in wrong format
http://www.andreaswacker.com/blog/2009/01/23/sysdeputilc162-error-expected-declaration-specifiers-or-before-capset/
vi vsf_findlibs.sh
# Look for libcap (capabilities)
#if locate_library /lib/libcap.so.1; then
# echo "/lib/libcap.so.1";
if locate_library /lib/libcap.so.2; then
echo "/lib/libcap.so.2";
else
locate_library /usr/lib/libcap.so && echo "-lcap";
locate_library /lib/libcap.so && echo "-lcap";
locate_library /lib64/libcap.so && echo "-lcap";
fi
I still get
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: *** [vsftpd] Error 1
Ok I give up for now....
Saturday, February 18, 2012
Subscribe to:
Post Comments (Atom)
2 comments:
Did you ever figure this out?
no, sorry mate...
Post a Comment