[I tried to send this yesterday, but it doesn't seem to have actually
reached the list ... hopefully it'll go through this time]


I recently upgraded from qpopper 3.1 to 4.0.4.  We use qpopper in a few
different configs, and one of them requires kerberos support.  So I
entered
the same configure* args I had used in 3.1, and then ran make.  Here's
the
errors I got:

Undefined                       first referenced
 symbol                             in file
krb_mk_priv                        
/usr/local/lib/libkrb5util.a(compat_recv.o)
krb_net_write                      
/usr/local/lib/libkrb5util.a(compat_recv.o)
krb_net_read                       
/usr/local/lib/libkrb5util.a(compat_recv.o)
krb_rd_req                         
/usr/local/lib/libkrb5util.a(compat_recv.o)

I don't know if it matters that our krb5 installation uses krb4 compat
mode,
so maybe these functions would have been in libkrb5util if we were a
pure
krb5 site ... but they aren't for us.  So I had to go in to
popper/Makefile
and modify the "LIBS" line to include both -lkrb5 and -l krb4

(note: changing the KERBEROS_LIBS line had no effect, you must change
the
LIBS line)

It then compiled just fine.  Though, we haven't tested the binary yet.


I'm mostly sending this in case it's a bug in the kerberos support that
needs
to be fixed, and to hear if anyone else had similar problems (this is my
first
message on the qpopper mailing list).



* our configure args:

./configure  --with-bulletins=/var/spool/bulls --with-new-bulls=5 \
   --enable-home-dir-mail=mailspool
--enable-temp-drop-dir=/var/spool/poptmp \
   --with-log-facility=LOG_LOCAL1 --disable-check-pw-max \
   --disable-old-spool-loc --with-kerberos5=/usr/local --enable-kuserok
\
   --enable-ksockinst --enable-standalone



John Rudd
Senior Unix Systems Administrator
Computing and Technology Services (CATS)
University of California, Santa Cruz

Reply via email to