Need vsftpd with ssl support!

This is a discussion on Need vsftpd with ssl support! within the Linux Security forums, part of the System Security and Security Related category; Hey everybody, I'm having trouble compiling vsftpd with ssl on CentOS. I've edited the builddefs.h file accordingly (...


Go Back   Usenet Forums > System Security and Security Related > Linux Security

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-19-2006
saucily
 
Posts: n/a
Default Need vsftpd with ssl support!

Hey everybody, I'm having trouble compiling vsftpd with ssl on CentOS.
I've edited the builddefs.h file accordingly (changed 'undef' to
'define' for VSF_BUILD_SSL) but I get a string of errors. Does anyone
know where I can get a CentOS binary with SSL support or somewhere I
can get source that includes a 'config' script (vsftpd.beasts.org does
not...) ?

Thanks all!

Reply With Quote
  #2 (permalink)  
Old 04-19-2006
Lawrence D'Oliveiro
 
Posts: n/a
Default Re: Need vsftpd with ssl support!

In article <1145401630.707489.141190@z34g2000cwc.googlegroups .com>,
"saucily" <MisterESauce@gmail.com> wrote:

>I've edited the builddefs.h file accordingly (changed 'undef' to
>'define' for VSF_BUILD_SSL) but I get a string of errors.


What errors?
Reply With Quote
  #3 (permalink)  
Old 04-20-2006
saucily
 
Posts: n/a
Default Re: Need vsftpd with ssl support!

-= snip =-
gcc -c ssl.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 ssl.o sysutil.o sysdeputil.o -Wl,-s `./vsf_findlibs.sh`
sysdeputil.o(.text+0x1c4): In function `vsf_sysdep_has_capabilities':
: undefined reference to `cap_get_proc'
sysdeputil.o(.text+0x1cf): In function `vsf_sysdep_has_capabilities':
: undefined reference to `cap_free'
sysdeputil.o(.text+0x1f9): In function `vsf_sysdep_adopt_capabilities':
: undefined reference to `cap_init'
sysdeputil.o(.text+0x20f): In function `vsf_sysdep_adopt_capabilities':
: undefined reference to `cap_set_proc'
-= snip =-
collect2: ld returned 1 exit status
make: *** [vsftpd] Error 1

Any ideas? Thanks!

Reply With Quote
  #4 (permalink)  
Old 04-22-2006
Lawrence D'Oliveiro
 
Posts: n/a
Default Re: Need vsftpd with ssl support!

In article <1145495204.296691.18740@u72g2000cwu.googlegroups. com>,
"saucily" <MisterESauce@gmail.com> wrote:

>: undefined reference to `cap_get_proc'
>sysdeputil.o(.text+0x1cf): In function `vsf_sysdep_has_capabilities':
>: undefined reference to `cap_free'
>sysdeputil.o(.text+0x1f9): In function `vsf_sysdep_adopt_capabilities':
>: undefined reference to `cap_init'
>sysdeputil.o(.text+0x20f): In function `vsf_sysdep_adopt_capabilities':
>: undefined reference to `cap_set_proc'


These routines are defined in /lib/libcap.so. Do you have -lcap in your
compilation flags?
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:49 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0