Subject: kerberos problem?
To: None <port-mac68k@netbsd.org>
From: karl vossen <karl.vossen@pandora.be>
List: port-mac68k
Date: 03/18/2002 14:40:06
dear all,

For a few days now, i am trying to get qpopper to work on my Q700 
with custom 1.5.2 kernel.
the error i get is invariably:

galadriel: {2} telnet lucifer pop3
Trying 192.168.1.30...
Connected to lucifer.
Escape character is '^]'.
/usr/libexec/ld.so: Undefined symbol "_net_write" in 
qpopper:/usr/lib/libkrb.so.4.0

Connection closed by foreign host.

after consulting the qpopper mailinglist, i recompiled without 
kerberos support to try to avoid the problem, guessing that 
libkrb.so.4.0 somehow involved kerberos.
To do that, i modified the Makefile.common and commented out the if 
defined KERBEROS-block and recompiled without success. (is this the 
pkgsrc-way to run configure?)
the config.log mentions lkrb, no libkrb.so.4.0
still, lucifer: {10} ldd /usr/pkg/libexec/qpopper
/usr/pkg/libexec/qpopper:
         -lresolv.1 => /usr/lib/libresolv.so.1.0 (0x4040000)
         -lkrb.4 => /usr/lib/libkrb.so.4.0 (0x4049000)
         -lcrypt.0 => /usr/lib/libcrypt.so.0.0 (0x405d000)
         -lssl.1 => /usr/lib/libssl.so.1.0 (0x4063000)
         -lcrypto.0 => /usr/lib/libcrypto.so.0.2 (0x408d000)
         -lc.12 => /usr/lib/libc.so.12.62.1 (0x4140000)
when peeking into the Makefiles in the various subdirectories, i 
found LIBS sections mentioning -lkrb anyway.
As these are generated dynamically, i guess that qpopper _needs_ this 
lkrb.4 and that theres something not quite right with it. Thats 
assumption no 1,
Assumption no 2: as this qpopper package seems to be widely used, at 
least some of us must have run into this kind of trouble. If not, is 
there something i should know/do about kerberos (I hardly know what 
it is)?
assumtion no 3: i'm sure there are some things i'll never understand, 
but heck, i'm not planning to let this one into the mystery-catalog. 
Hope you can help.



karl.
--