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

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




Actually, it looks like this is all my fault really.

I had two problems, openssl-0.9.6 and libdes-4.04b.

I had removed the libraries for each, but not the include files. Removing
the include files, making clean, and running configure over again make it
much happier.

I look forward to when heimdal and openssl can coexist, but for now I have
it working. Thank you for all of your help!

Nathan

On 28 Jun 2001, Assar Westerlund wrote:

> 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'.
> 
> /assar
> 

-- 
--
Nathan Rawling      nrawling@firedrake.net       KC8BOA
"A dead fish goes downstream, it takes a live one to go
   against the current." -- Clayton Rawling, 1894-1973