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

Re: 0.3d on FreeBSD 4.2-Stable



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 this results in:
> 
>   s,@DIR_des@,,;t t
>   s,@LIB_des@,-rpath  -L no,;t t    
> 
> which should be:
> 
>   s,@DIR_des@,,;t t
>   s,@LIB_des@,-lcrypto,;t t    
> 
> 
> >  creating des
> 
> appropriate not done on my system

Not appropriate if it doesn't work :-P   Linking with the supplied des
would be a reasonable workaround.


I guess you are not using the port, by the way?  I assume it would
fail in the same fashion.
-- 
Jacques Vidrine / n@nectar.com / jvidrine@verio.net / nectar@FreeBSD.org