Subject: Re: Kerberos not linked with proper libs on ELF? [was: Re: qpopper 4.0.3 under netbsd/amiga 1.5.1]
To: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
From: None <marius@alchemy.franken.de>
List: tech-pkg
Date: 08/25/2001 02:32:11
--LyciRD1jyfeSSjG0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline


> 
> Using a 1.5.2 system, I get: 
> 
> 	checking for krb_recvauth in -lkrb... no
> 
> while you get a "yes" for the same test. What's happening here is that a
> program consisting of a single krb_recvauth() call is compiled. It seems
> this compile succesds for you, while it fails for me, with quite a list of
> missing symbols:
> 
> 	/usr/lib/libkrb.so: undefined reference to `net_write'
> 	/usr/lib/libkrb.so: undefined reference to `des_pcbc_encrypt'
> 	/usr/lib/libkrb.so: undefined reference to `init_error_table'
> 	/usr/lib/libkrb.so: undefined reference to `des_set_odd_parity'
> 	/usr/lib/libkrb.so: undefined reference to `des_key_sched'
> 	/usr/lib/libkrb.so: undefined reference to `base64_encode'
> 	/usr/lib/libkrb.so: undefined reference to `des_read_pw_string'
> 	/usr/lib/libkrb.so: undefined reference to `crypt'   
> 	/usr/lib/libkrb.so: undefined reference to `net_read'
> 	/usr/lib/libkrb.so: undefined reference to `des_set_key'
> 	...
> 
> The list is much longer, and includes symbols from libcrypt, libroken,
> libresolv, etc. Running 'ldd' on /usr/lib/libkrb.so shows no other libs.
> I can only guess that's the problem, maybe one of our Kerbero gurus can
> have a look here.
> 
> I'm not sure how the (a.out) amiga works around this, we'd have to have a
> look on the config.log output, and also what "ldd /usr/lib/libkrb.so" says
> would be interresting. 
> 

attached the config.log...

if i get it right, there a 2 problems:
a) the check for krb_recvauth() in libkrb should succeed on all netbsd
   ports, as it really is in that library
b) libkrb should be linked with libcrypt, libroken and so on or programms
   depending on libkrb should also be linked with these libs
?!?

i dont't have a '/usr/lib/libkrb.so' (symlink ?) here, only a
'/usr/lib/libkrb.so.4' and i don't get an output if i run ldd with it,
as it isn't a shared object here
at least i get some of the above symbols if i do a
'nm -g /usr/lib/libkrb.so.4.0'

i still think this is an amiga/m68k/a.out specific problem, as qpopper
works without problems on other 1.5.1 machines, e.g. cobalt, but the
the check for krb_recvauth also fails there

iirc, the .a libs are used for a.out linking and .so for elf linking ?
maybe the problem is only in the .a "version" of libkrb ?

could one of the kerberos gurus please tell if this is fixed in 1.5.2 or
-current, i don't want to do a 'make build' on an amiga if it's of no use

as for the qpopper package, krb_recvauth() is only needed if configured
with --enable-kerberos, but it's checked in any case
for a workaround, qpopper works without problems on amiga if i dont't
enable kerberos and remove the linking against libkrb from the makefiles
after 'make configure'






--LyciRD1jyfeSSjG0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="config.log"

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:653: checking whether make sets ${MAKE}
configure:682: checking for gcc
configure:795: checking whether the C compiler (cc -DINET6 -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib) works
configure:811: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c  1>&5
configure:837: checking whether the C compiler (cc -DINET6 -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib) is a cross-compiler
configure:842: checking whether we are using GNU C
configure:851: cc -E conftest.c
configure:870: checking whether cc accepts -g
configure:902: checking for POSIXized ISC
configure:927: checking for bison
configure:960: checking for flex
configure:994: checking for yywrap in -lfl
configure:1013: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c -lfl   1>&5
configure:1040: checking for ar
configure:1073: checking for ranlib
configure:1131: checking for a BSD compatible install
configure:1188: checking for gperf
configure:1188: checking for cperf
configure:1329: checking for gcc version 2.7.2.3
configure:1343: checking if gcc supports __attribute__ (format) 
configure:1353: cc -c -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  conftest.c 1>&5
configure:1369: checking if ar chokes on -r
configure:1392: checking for getspnam
configure:1420: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c  1>&5
/tmp/cckDL3z0.o: Undefined symbol `_getspnam' referenced from text segment
collect2: ld returned 1 exit status
configure: failed program was:
#line 1397 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char getspnam(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char getspnam();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_getspnam) || defined (__stub___getspnam)
choke me
#else
getspnam();
#endif

; return 0; }
configure:1442: checking for getspnam in -lshadow
configure:1461: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c -lshadow   1>&5
ld: -lshadow: no match
collect2: ld returned 1 exit status
configure: failed program was:
#line 1450 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char getspnam();

int main() {
getspnam()
; return 0; }
configure:2725: checking for getaddrinfo
configure:2753: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c  1>&5
configure:2909: checking for iruserok_sa
configure:2937: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c  1>&5
configure:3088: checking whether you have ss_family in struct sockaddr_storage
configure:3101: cc -c -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  conftest.c 1>&5
configure:3339: checking size of unsigned long int
configure:3358: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c  1>&5
configure:3379: checking for sendmail program
configure:3414: checking for mail spool directory
configure:3478: checking for dirent.h that defines DIR
configure:3491: cc -c -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  conftest.c 1>&5
configure:3516: checking for opendir in -ldir
configure:3535: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c -ldir   1>&5
ld: -ldir: no match
collect2: ld returned 1 exit status
configure: failed program was:
#line 3524 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char opendir();

int main() {
opendir()
; return 0; }
configure:3599: checking how to run the C preprocessor
configure:3620: cc -E -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  conftest.c >/dev/null 2>conftest.out
configure:3679: checking for ANSI C header files
configure:3692: cc -E -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  conftest.c >/dev/null 2>conftest.out
configure:3759: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c  1>&5
configure:3783: checking for sys/wait.h that is POSIX.1 compatible
configure:3804: cc -c -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  conftest.c 1>&5
configure:3825: checking for sys_siglist declaration in signal.h or unistd.h
configure:3842: cc -c -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  conftest.c 1>&5
configure: In function `main':
configure:3838: warning: initialization discards `const' from pointer target type
configure:3890: checking for prot.h
configure:3900: cc -E -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  conftest.c >/dev/null 2>conftest.out
configure:3896: prot.h: No such file or directory
configure: failed program was:
#line 3895 "configure"
#include "confdefs.h"
#include <prot.h>
configure:3890: checking for fcntl.h
configure:3900: cc -E -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  conftest.c >/dev/null 2>conftest.out
configure:3890: checking for limits.h
configure:3900: cc -E -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  conftest.c >/dev/null 2>conftest.out
configure:3890: checking for strings.h
configure:3900: cc -E -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  conftest.c >/dev/null 2>conftest.out
configure:3890: checking for sys/param.h
configure:3900: cc -E -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  conftest.c >/dev/null 2>conftest.out
configure:3890: checking for sys/file.h
configure:3900: cc -E -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  conftest.c >/dev/null 2>conftest.out
configure:3890: checking for sys/security.h
configure:3900: cc -E -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  conftest.c >/dev/null 2>conftest.out
configure:3896: sys/security.h: No such file or directory
configure: failed program was:
#line 3895 "configure"
#include "confdefs.h"
#include <sys/security.h>
configure:3890: checking for sys/syslog.h
configure:3900: cc -E -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  conftest.c >/dev/null 2>conftest.out
configure:3890: checking for sys/types.h
configure:3900: cc -E -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  conftest.c >/dev/null 2>conftest.out
configure:3890: checking for sys/fcntl.h
configure:3900: cc -E -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  conftest.c >/dev/null 2>conftest.out
configure:3890: checking for sys/select.h
configure:3900: cc -E -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  conftest.c >/dev/null 2>conftest.out
configure:3890: checking for sys/stat.h
configure:3900: cc -E -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  conftest.c >/dev/null 2>conftest.out
configure:3890: checking for sys/unistd.h
configure:3900: cc -E -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  conftest.c >/dev/null 2>conftest.out
configure:3890: checking for sys/netinet/in.h
configure:3900: cc -E -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  conftest.c >/dev/null 2>conftest.out
configure:3896: sys/netinet/in.h: No such file or directory
configure: failed program was:
#line 3895 "configure"
#include "confdefs.h"
#include <sys/netinet/in.h>
configure:3890: checking for sys/time.h
configure:3900: cc -E -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  conftest.c >/dev/null 2>conftest.out
configure:3890: checking for syslog.h
configure:3900: cc -E -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  conftest.c >/dev/null 2>conftest.out
configure:3890: checking for net/errno.h
configure:3900: cc -E -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  conftest.c >/dev/null 2>conftest.out
configure:3896: net/errno.h: No such file or directory
configure: failed program was:
#line 3895 "configure"
#include "confdefs.h"
#include <net/errno.h>
configure:3890: checking for unistd.h
configure:3900: cc -E -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  conftest.c >/dev/null 2>conftest.out
configure:3890: checking for netinet/in.h
configure:3900: cc -E -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  conftest.c >/dev/null 2>conftest.out
configure:3890: checking for maillock.h
configure:3900: cc -E -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  conftest.c >/dev/null 2>conftest.out
configure:3896: maillock.h: No such file or directory
configure: failed program was:
#line 3895 "configure"
#include "confdefs.h"
#include <maillock.h>
configure:3890: checking for select.h
configure:3900: cc -E -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  conftest.c >/dev/null 2>conftest.out
configure:3896: select.h: No such file or directory
configure: failed program was:
#line 3895 "configure"
#include "confdefs.h"
#include <select.h>
configure:3890: checking for shadow.h
configure:3900: cc -E -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  conftest.c >/dev/null 2>conftest.out
configure:3896: shadow.h: No such file or directory
configure: failed program was:
#line 3895 "configure"
#include "confdefs.h"
#include <shadow.h>
configure:3890: checking for security/pam_appl.h
configure:3900: cc -E -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  conftest.c >/dev/null 2>conftest.out
configure:3896: security/pam_appl.h: No such file or directory
configure: failed program was:
#line 3895 "configure"
#include "confdefs.h"
#include <security/pam_appl.h>
configure:3929: checking for ndbm.h
configure:3939: cc -E -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  conftest.c >/dev/null 2>conftest.out
configure:3966: checking for gdbm.h
configure:3976: cc -E -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  conftest.c >/dev/null 2>conftest.out
configure:3972: gdbm.h: No such file or directory
configure: failed program was:
#line 3971 "configure"
#include "confdefs.h"
#include <gdbm.h>
configure:4003: checking for dbm.h
configure:4013: cc -E -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  conftest.c >/dev/null 2>conftest.out
configure:4009: dbm.h: No such file or directory
configure: failed program was:
#line 4008 "configure"
#include "confdefs.h"
#include <dbm.h>
configure:4042: checking for t_accept in -lnsl
configure:4061: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c -lnsl   1>&5
ld: -lnsl: no match
collect2: ld returned 1 exit status
configure: failed program was:
#line 4050 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char t_accept();

int main() {
t_accept()
; return 0; }
configure:4082: checking for socket in -lsocket
configure:4101: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c -lsocket   1>&5
ld: -lsocket: no match
collect2: ld returned 1 exit status
configure: failed program was:
#line 4090 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char socket();

int main() {
socket()
; return 0; }
configure:4122: checking for res_init in -lresolv
configure:4141: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c -lresolv   1>&5
configure:4162: checking for maillock in -lmail
configure:4181: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c -lmail   1>&5
ld: -lmail: no match
collect2: ld returned 1 exit status
configure: failed program was:
#line 4170 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char maillock();

int main() {
maillock()
; return 0; }
configure:4205: checking for krb_recvauth in -lkrb
configure:4224: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c -lkrb   1>&5
configure:4245: checking for clock_gettime in -lposix4
configure:4264: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c -lposix4   1>&5
ld: -lposix4: no match
collect2: ld returned 1 exit status
configure: failed program was:
#line 4253 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char clock_gettime();

int main() {
clock_gettime()
; return 0; }
configure:4289: checking for set_auth_parameters in -lsecurity
configure:4308: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c -lsecurity   1>&5
ld: -lsecurity: no match
collect2: ld returned 1 exit status
configure: failed program was:
#line 4297 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char set_auth_parameters();

int main() {
set_auth_parameters()
; return 0; }
configure:4331: checking for crypt in -lcrypt
configure:4350: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c -lcrypt   1>&5
configure:4721: checking for working const
configure:4775: cc -c -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  conftest.c 1>&5
configure:4796: checking for uid_t in sys/types.h
configure:4830: checking for mode_t
configure:4863: checking for off_t
configure:4896: checking for size_t
configure:4929: checking for sys_siglist declaration in signal.h or unistd.h
configure:4967: checking whether time.h and sys/time.h may both be included
configure:4981: cc -c -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  conftest.c 1>&5
configure:5002: checking whether struct tm is in sys/time.h or time.h
configure:5015: cc -c -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  conftest.c 1>&5
configure:5038: checking for 8-bit clean memcmp
configure:5056: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c  -lcrypt 1>&5
configure:5074: checking return type of signal handlers
configure:5096: cc -c -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  conftest.c 1>&5
configure:5115: checking whether utime accepts a null argument
configure:5136: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c  -lcrypt 1>&5
configure:5160: checking for vprintf
configure:5188: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c  -lcrypt 1>&5
configure:5265: checking for wait3 that fills in rusage
configure:5304: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c  -lcrypt 1>&5
configure:5351: checking for gethostname
configure:5379: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c  -lcrypt 1>&5
configure:5351: checking for gettimeofday
configure:5379: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c  -lcrypt 1>&5
configure:5351: checking for getusershell
configure:5379: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c  -lcrypt 1>&5
configure:5351: checking for mkdir
configure:5379: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c  -lcrypt 1>&5
configure:5351: checking for socket
configure:5379: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c  -lcrypt 1>&5
configure:5351: checking for strdup
configure:5379: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c  -lcrypt 1>&5
configure:5351: checking for strerror
configure:5379: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c  -lcrypt 1>&5
configure:5351: checking for strstr
configure:5379: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c  -lcrypt 1>&5
configure:5351: checking for bcopy
configure:5379: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c  -lcrypt 1>&5
configure:5351: checking for index
configure:5379: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c  -lcrypt 1>&5
configure:5351: checking for flock
configure:5379: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c  -lcrypt 1>&5
configure:5351: checking for set_auth_parameters
configure:5379: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c  -lcrypt 1>&5
/tmp/cckOiILI.o: Undefined symbol `_set_auth_parameters' referenced from text segment
collect2: ld returned 1 exit status
configure: failed program was:
#line 5356 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char set_auth_parameters(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char set_auth_parameters();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_set_auth_parameters) || defined (__stub___set_auth_parameters)
choke me
#else
set_auth_parameters();
#endif

; return 0; }
configure:5351: checking for pw_encrypt
configure:5379: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c  -lcrypt 1>&5
/tmp/ccrfxF9Q.o: Undefined symbol `_pw_encrypt' referenced from text segment
collect2: ld returned 1 exit status
configure: failed program was:
#line 5356 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char pw_encrypt(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char pw_encrypt();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_pw_encrypt) || defined (__stub___pw_encrypt)
choke me
#else
pw_encrypt();
#endif

; return 0; }
configure:5351: checking for hstrerror
configure:5379: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c  -lcrypt 1>&5
configure:5351: checking for snprintf
configure:5379: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c  -lcrypt 1>&5
configure:5351: checking for vsnprintf
configure:5379: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c  -lcrypt 1>&5
configure:5351: checking for srandom
configure:5379: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c  -lcrypt 1>&5
configure:5351: checking for srand
configure:5379: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c  -lcrypt 1>&5
configure:5351: checking for usleep
configure:5379: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c  -lcrypt 1>&5
configure:5351: checking for setproctitle
configure:5379: cc -o conftest -DINET6 -I/usr/pkgsrc/mail/qpopper/work/.buildlink/include  -L/usr/pkgsrc/mail/qpopper/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c  -lcrypt 1>&5
configure:5406: checking for /dev/urandom 

--LyciRD1jyfeSSjG0--