On Mon, 4 Mar 2002, Ruth Anne wrote:

I know it's bad form to followup your own message, but...

>
> I am attempting to make Amanda 2.4.2pl2 with krb4 support
> server/client on NetBSD1.5.1_ALPHA; KerberosV 1.2.3
>
> While Making all in common-src:
>
> ...
> gcc -g -O2 -I/usr/local/krb5/include
> -I/usr/local/krb5/include/kerberosIV -L/usr/local/krb5/lib -o genversion 
>genversion.o versuff.o alloc.o debug.o error.o util.o file.o -lm -ltermcap -lkrb4 
>-lkrb5 -lcrypto -ldes425 -lcom_err
> /usr/local/krb5/lib/libkrb5.a(init_ctx.o): In function `init_common':
> init_ctx.o(.text+0x13c): undefined reference to `krb5_c_random_seed'
> /usr/local/krb5/lib/libkrb5.a(init_ctx.o): In function 
>`krb5_set_default_in_tkt_ktypes':
> init_ctx.o(.text+0x3de): undefined reference to `valid_enctype'
> /usr/local/krb5/lib/libkrb5.a(init_ctx.o): In function `get_profile_etype_list':
> init_ctx.o(.text+0x647): undefined reference to `krb5_string_to_enctype'
> /usr/local/krb5/lib/libkrb5.a(init_ctx.o): In function 
>`krb5_set_default_tgs_enctypes':
> init_ctx.o(.text+0x75e): undefined reference to `valid_enctype'
> collect2: ld returned 1 exit status
> *** Error code 1
>
> Stop.
> *** Error code 1


I got my answer from the kerberos mailing list.  At least in
KerberosV 1.2.3, there was a library name change; crypto changed to
k5crypto.  So in the following lines in the  configure file:

    KRB4LIBS="-lkrb4 -lkrb5 -lcrypto -ldes425 -lcom_err"

    KRB4LIBS="-lkrb4 -lcrypto -ldes425"

change lcrypto to lk5crypto.

This is in addition to the change that needs to be made in the
configure file of libcrypto to libk5crypto.


--Ruth Anne

Reply via email to