> gcc -o kotest kotest.o -L. -lko -L../../util -lutil -L../roken -lroken -L/usr/athena/lib -lresolv I don't see any -lkrb or something like this in this linking line. In what library should krb_realmofhost be found? Kth-krb has it in libkrb.a. Or does your kerberos library not include any krb_realmofhost routine? Harald.