[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems building heimdal-0.3f --enable-kaserver

Nathan Rawling <nrawling@firedrake.net> writes:
> Without libcrypto, I get this:
> larations -Wnested-externs -g -O2 -o verify_krb5_conf verify_krb5_conf.o
> ./.libs/libkrb5.a
> /u/nrawling/build/heimdal-0.3f-afs/lib/des/.libs/libdes.a -lresolv -lnsl
> -lsocket -lresolv -lnsl -lsocket
> /u/nrawling/build/heimdal-0.3f-afs/lib/asn
> 1/.libs/libasn1.a -lresolv -lnsl -lsocket -lresolv -lnsl -lsocket -lresolv
> -lnsl -lsocket -lresolv -lnsl -lsocket
> /u/nrawling/build/heimdal-0.3f-afs/lib/roken/.libs/libroken.a -lresolv
> -lnsl -lsocket -lresolv -lnsl -lsocket -lresolv -lnsl -lsocket -lresolv
> -lnsl -lsocket ../../lib/des/.libs/libdes.a -lresolv -lnsl -lsocket
> -lresolv -lnsl -lsocket ../../lib/asn1/.libs/libasn1.a -lresolv -lnsl
> -lsocket -lresolv -lnsl -lsocket ../../lib/vers/.libs/libvers.a -lresolv
> -lnsl -lsocket -lresolv -lnsl -lsocket ../../lib/roken/.libs/libroken.a
> -lresolv -lnsl -lsocket -lresolv -lnsl -lsocket -ldb -lresolv -lnsl
> -lsocket -lresolv -lnsl -lsocket
> Undefined                       first referenced
>  symbol                             in file
> RAND_write_file                     ./.libs/libkrb5.a(crypto.o)
> RAND_add                            ./.libs/libkrb5.a(crypto.o)
> RAND_status                         ./.libs/libkrb5.a(crypto.o)
> RAND_file_name                      ./.libs/libkrb5.a(crypto.o)
> RAND_egd_bytes                      ./.libs/libkrb5.a(crypto.o)
> RAND_bytes                          ./.libs/libkrb5.a(crypto.o)
> ld: fatal: Symbol referencing errors. No output written to
> verify_krb5_conf
> collect2: ld returned 1 exit status
> make[2]: *** [verify_krb5_conf] Error 1
> make[2]: Leaving directory `/u/nrawling/build/heimdal-0.3f-afs/lib/krb5'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/u/nrawling/build/heimdal-0.3f-afs/lib'
> make: *** [all-recursive] Error 1

I'm sorry for this not really working yet.

You should be able to get it working (by using the supplied libdes) by
editing your config.status to contain:

s,@DIR_des@,des,;t t
s,@LIB_des@,$(top_builddir)/lib/des/libdes.la,;t t
s,@LIB_des_appl@,-ldes,;t t

(replacing the lines that you have that start with these), removing
all the lines that mention OPENSSL from include/config.h and then
running 'make clean' and 'make'.