遇到一个问题:
sysdeputil.o: In function `vsf_sysdep_check_auth':
sysdeputil.c:(.text+0x108): undefined reference to `crypt'
sysdeputil.c:(.text+0x124): undefined reference to `crypt'
collect2: error: ld returned 1 exit status
Makefile:24: recipe for target 'vsftpd' failed
make: *** [vsftpd] Error 1
解决方法:
修改Makefile文件。
LIBS = `./vsf_findlibs.sh` 改为 LIBS = `./vsf_findlibs.sh` -lcrypt
参考: