From: Pia Sahlberg
| CVS --with-krb5 does not work at all for me.
|
| It gives me
| "checking for krb5-config... checking whether to use
kerberos/heimdal... yes
| checking for krb5-config... /bin/krb5-config
| checking krb5.h usability... yes
| checking krb5.h presence... yes
| checking for krb5.h... yes
| checking for krb5_kt_resolve in -lkrb5... no
| heimdal not found - disabling dissection for some kerberos data in
packet
| decoding
The relevant section of config.log:
<start>
configure:14080: checking for krb5_kt_resolve in -lkrb5
configure:14113: gcc -o
conftest -DINET6 -D_U_="__attribute__((unused))" -Wall -W -g -O2 -I/us
r/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/
lib/glib/include -I/usr/X11R6/include -I/usr/include/rpm -DINET6 -O2 -
march=i386 -mcpu=i686 -Dlinux -I/usr/include/rpm -I/usr/heimdal/includ
e -I/usr/local/include -I/usr/include/rpm -DINET6 -O2 -march=i386 -m
cpu=i686 -Dlinux -I/usr/include/rpm -I/usr/heimdal/include -L/usr/lo
cal/lib
conftest.c -lkrb5 -lz -L/usr/heimdal/lib -lkrb5 -lasn1 -lcrypto -lro
ken -lcrypt >&5
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
/usr/heimdal/lib/libroken.a(resolve.o): In function `parse_record':
/root/heimdal-0.6/lib/roken/resolve.c:122: undefined reference to
`__dn_expand'
/root/heimdal-0.6/lib/roken/resolve.c:156: undefined reference to
`__dn_expand'
/root/heimdal-0.6/lib/roken/resolve.c:171: undefined reference to
`__dn_expand'
/root/heimdal-0.6/lib/roken/resolve.c:261: undefined reference to
`__dn_expand'
/root/heimdal-0.6/lib/roken/resolve.c:194: undefined reference to
`__dn_expand'
/usr/heimdal/lib/libroken.a(resolve.o):/root/heimdal-0.6/lib/roken/res
olve.c:366: more undefined references to `__dn_expand' follow
/usr/heimdal/lib/libroken.a(resolve.o): In function `dns_lookup_int':
/root/heimdal-0.6/lib/roken/resolve.c:439: undefined reference to
`__res_search'
collect2: ld returned 1 exit status
configure:14116: $? = 1
configure: failed program was:
#line 14087 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char krb5_kt_resolve ();
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
krb5_kt_resolve ();
;
return 0;
}
configure:14133: result: no
configure:14183: result: heimdal not found - disabling dissection for
some kerberos data in packet decoding
<end>
| OK so it failed to find it.
Not really, I think you need to add a lib to the linker flags or use
the correct -L linker directory flag as dn_expand and res_search seem
to be defined in another (or unreacheable) library.
Regards,
Olivier