[krbdev.mit.edu #1129] 1.2.5 lack of libresolv with --disable-dns-for-kdc

via RT rt-comment at KRBDEV.MIT.EDU
Wed Aug 21 12:17:57 EDT 2002


Hi,

I've just tried compilinig krb5 1.2.5 (and the 1.2.6 beta) with the
option --disable-dns-for-kdc without any problem in linking krb524d. 
You should also have problems linking krb5kdc, kadmind, etc.

In my builds, the function "daemon" is added to the krb5 library in the
lib/krb5/posix directory.

Can you do the following:

a) In the lib directory of your build execute:

nm  libkrb5.a | grep daemon

You should see a line indicating that daemon is a global function.

b) If daemon is not present in the library, we need to figure out why. 
-- look in config.cache in the top level directory - does the line:
  ac_cv_func_daemon=${ac_cv_func_daemon='no'}
appear?

Could you send me a copy of the file lib/krb5/config.log?

c) If daemon is present in libkrb5.a, could you send me the link line as
output by make in the krb524d
directory?

Mine looks like:
cc -L../lib  -o krb524d krb524d.o -lkadm5srv  -lkdb5 ../lib/libdb.a
-lgssrpc -ldyn -lgssapi_krb5 libkrb524.a -lkrb4 -lkrb5 -ldes425
-lk5crypto -lcom_err -lgen -lsocket -lnsl

Thanks

Ezra



More information about the krb5-bugs mailing list