Find the answer to your Linux question:
Results 1 to 4 of 4
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2004
    Location
    Lanett, AL
    Posts
    19

    vsftpd


    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 `./vsf_findlibs.sh`
    /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,

    thanks.

  2. #2
    Just Joined!
    Join Date
    Oct 2004
    Posts
    7
    No expert on this - I think it's looking for /usr/lib/libcap.so, 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/libcap.so*

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

  3. #3
    Just Joined!
    Join Date
    Dec 2004
    Posts
    1

    finally

    have to install libcap-devel package


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

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Dec 2004
    Posts
    1

    apt-get

    WHy not just use apt? There is a vsftpd package.
    Code:
    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
  •