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

Re: 0.3d on FreeBSD 4.2-Stable



At 10:17 AM 12/29/00 -0600, Jacques A. Vidrine wrote:
>On Fri, Dec 29, 2000 at 08:06:32AM -0800, Kurt D. Zeilenga wrote:
>> At 09:45 AM 12/29/00 -0600, Jacques A. Vidrine wrote:
>> >On Fri, Dec 29, 2000 at 07:41:01AM -0800, Kurt D. Zeilenga wrote:
>> >> >Did you see this?
>> >> 
>> >> No.  Because configure is finding RC4, MD*, SHA*, DES in
>> >> FreeBSD's -lcrypto, hence KRB's -ldes isn't built.
>> >
>> >I don't think that is why.  On my systems the build also finds
>> >FreeBSD's -lcrypto, yet des is still built.  
>> >
>> >  [...]
>> >  checking for MD4Init... no
>> >  checking for MD4_Init... no
>> >  checking for MD5Init... no
>> >  checking for MD5_Init... yes, in -lcrypto
>> >  checking for SHA1Init... no
>> >  checking for SHA1_Init... yes, in -lcrypto
>> >  checking for des_cbc_encrypt... yes, in -lcrypto
>> >  checking for RC4... yes, in -lcrypto
>> >  [...]
>> 
>> ./configure (no CPPLAGS, LDFLAGS, LIBS)
>> 
>> checking for MD4Init... no
>> checking for MD4_Init... yes, in -lcrypto
>> checking for MD5Init... no
>> checking for MD5_Init... yes, in -lcrypto
>> checking for SHA1Init... no
>> checking for SHA1_Init... yes, in -lcrypto
>> checking for des_cbc_encrypt... yes, in -lcrypto
>> checking for RC4... yes, in -lcrypto
>
>So your /usr/lib/libcrypto.a has MD4_Init defined, and mine doesn't?
>I guess this changed with OpenSSL 0.9.6, which was imported a little
>over 4 weeks ago.  I'll have to update a system to futz with this
>later.   

Note that the above configure fails with:

./.libs/libkrb5.a(crypto.o): In function `HMAC_MD5_checksum':
/home/kurt/soft/heimdal-0.3d/lib/krb5/crypto.c:1148: undefined reference to `MD5Init'
/home/kurt/soft/heimdal-0.3d/lib/krb5/crypto.c:1153: undefined reference to `MD5Update'
/home/kurt/soft/heimdal-0.3d/lib/krb5/crypto.c:1154: undefined reference to `MD5Update'
/home/kurt/soft/heimdal-0.3d/lib/krb5/crypto.c:1155: undefined reference to `MD5Final'

Note the use of the wrong MD5 variants.  FreeBSD has
these variants in -lmd.  Hence my subsequent mucking
of the environment to get the right headers to go
with the libraries containing the variants used.  Ugh.

Kurt