Find the answer to your Linux question:
Results 1 to 4 of 4

Thread: vsftpd

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2004
    Lanett, AL


    Please help the n00b (me)

    I'm trying to install vsftp on a fresh install of Knoppix 3.6 (Debian). But I get an error message when I try to 'make'.

    Can anyone explain the settings in the builddefs.h file? I tried MAKEing without editting the builddefs.h file but I got the following error

    gcc -c access.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 ipv6parse.o access.o sysutil.o sysdeputil.o -Wl,-s `./`
    /usr/bin/ld: cannot find -lcap
    collect2: ld returned 1 exit status
    make: *** [vsftpd] Error 1

    All of the above info is greek to me?!?!?

    Help please,


  2. #2
    No expert on this - I think it's looking for /usr/lib/, and then appending "-lcap" to the end of the gcc command. "Not found" - though not always - tends to mean files. So what happens when you run

    # ls /usr/lib/*

    perchance? Just trying to diagnose the problem, really.
    Notice this post is a duplicate of " /forum/ viewtopic.php? p=2196" (without the spaces), so you could also ask there to try to get an answer.

  3. #3


    have to install libcap-devel package

    take me sometimes.... to find , but finally did

  4. $spacer_open
  5. #4


    WHy not just use apt? There is a vsftpd package.
    apt-get install vsftpd

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts