I'm getting error messages when trying to compile vsftpd version 3.0.2 on AIX 6.1 (trying to compile VSFTPD with SSL):
SRVR#:/opt/freeware/src/packages/SOURCES/vsftpd-3.0.2> make
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 seccompsandbox.o -Wl,-s -fPIE -pie -Wl,-z,relro -Wl,-z,now `./vsf_findlibs.sh`
ld: 0706-005 Cannot find or open file: relro
ld open(): A file or directory in the path name does not exist.
ld: 0706-005 Cannot find or open file: now
ld open(): A file or directory in the path name does not exist.
collect2: error: ld returned 255 exit status
make: 1254-004 The error code from the last command is 1.
I'm not an AIX user, so I can't say AIX does or does not support relro, but I would suggest removing it from your Makefile. You'd likely get a working binary if you left out -Wl,-z,relro -Wl,-z,now
Hello, I am getting the same error when I tried to compile the code.
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 seccompsandbox.o -Wl,-s -fPIE -pie -Wl,-z,relro -Wl,-z,now `./vsf_findlibs.sh`
ld: 0706-005 Cannot find or open file: relro
ld open(): A file or directory in the path name does not exist.
ld: 0706-005 Cannot find or open file: now
ld open(): A file or directory in the path name does not exist.
collect2: error: ld returned 255 exit status
make: 1254-004 The error code from the last command is 1.
I am really stuck now. Can someone please help ?
I am hoping someone can compile vsftpd with SSL turned ON and share it with .RPM.