URL: https://www.opennet.me/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID1
Нить номер: 53696
[ Назад ]

Исходное сообщение
"vsftpd"

Отправлено shohrat , 21-Фев-05 09:30 
кто знает почему при установке vsftpd дает ощибку:
[root@server vsftpd-2.0.1]# 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 ipv6parse.o access.o features.o readwrite.o ssl.o sysutil.o sysdeputil.o -Wl,-s `./vsf_findlibs.sh`
/bin/sh: line 1: ./vsf_findlibs.sh: Permission denied
sysdeputil.o: In function `vsf_sysdep_check_auth':
sysdeputil.o(.text+0x53): undefined reference to `pam_start'
sysdeputil.o(.text+0x8a): undefined reference to `pam_set_item'
sysdeputil.o(.text+0xa5): undefined reference to `pam_authenticate'
sysdeputil.o(.text+0xc0): undefined reference to `pam_acct_mgmt'
sysdeputil.o(.text+0xdb): undefined reference to `pam_setcred'
sysdeputil.o(.text+0xff): undefined reference to `pam_end'
sysdeputil.o(.text+0x12c): undefined reference to `pam_open_session'
sysdeputil.o(.text+0x148): undefined reference to `pam_setcred'
sysdeputil.o(.text+0x159): undefined reference to `pam_end'
sysdeputil.o: In function `vsf_auth_shutdown':
sysdeputil.o(.text+0x1af): undefined reference to `pam_close_session'
sysdeputil.o(.text+0x1be): undefined reference to `pam_setcred'
sysdeputil.o(.text+0x1cd): undefined reference to `pam_end'
sysdeputil.o: In function `do_checkcap':
sysdeputil.o(.text+0x37e): undefined reference to `cap_get_proc'
sysdeputil.o(.text+0x389): undefined reference to `cap_free'
sysdeputil.o: In function `vsf_sysdep_adopt_capabilities':
sysdeputil.o(.text+0x3a9): undefined reference to `cap_init'
sysdeputil.o(.text+0x3c1): undefined reference to `cap_set_proc'
sysdeputil.o(.text+0x3d1): undefined reference to `cap_free'
sysdeputil.o(.text+0x40a): undefined reference to `cap_set_flag'
sysdeputil.o(.text+0x41a): undefined reference to `cap_set_flag'
sysdeputil.o(.text+0x43a): undefined reference to `cap_set_flag'
sysdeputil.o(.text+0x44a): undefined reference to `cap_set_flag'
collect2: ld returned 1 exit status
make: *** [vsftpd] Error 1

Содержание

Сообщения в этом обсуждении
"vsftpd"
Отправлено unk , 21-Фев-05 09:42 
>ssl.o sysutil.o sysdeputil.o -Wl,-s `./vsf_findlibs.sh`
>/bin/sh: line 1: ./vsf_findlibs.sh: Permission denied
возможно fs на которой лежат исходники смонтирована с noexec

>sysdeputil.o: In function `vsf_sysdep_check_auth':
>sysdeputil.o(.text+0x53): undefined reference to `pam_start'
>...
>sysdeputil.o: In function `do_checkcap':
>sysdeputil.o(.text+0x37e): undefined reference to `cap_get_proc'
Следствие облома vsf_findlibs.sh - нет ключей -lpam и -lcap