Subject: Re: OpenSSL upgrade part two
To: John Klos <john@ziaspace.com>
From: John R. Shannon <john@johnrshannon.com>
List: tech-pkg
Date: 12/29/2004 02:24:02
Try patching the module that does not compile so that it contains:

#include <openssl/des_old.h>

On Wednesday 29 December 2004 12:33 am, you wrote:
> Hi,
>
> When updating Pine after updating OpenSSL to 0.9.7e, I got this problem in
> imap-uw:
>
> cc -I../c-client -pipe -O2
> -I/usr/pkgsrc/mail/imap-uw/work/.buildlink/include -o .libs/mtest mtest.o
> -Wl,-R/usr/local/lib  ../c-client/.libs/libc-client.so
> -L/usr/pkgsrc/mail/imap-uw/work/.buildlink/lib -lcrypt -lgssapi -lkrb5
> -lasn1 -lcom_err -lroken -lssl -lcrypto -Wl,--rpath -Wl,/usr/local/lib
> ../c-client/.libs/libc-client.so: warning: tmpnam() possibly used unsafely,
> use mkstemp() or mkdtemp()
> mtest.o: In function `prompt':
> mtest.o(.text+0x1978): warning: this program uses gets(), which is unsafe.
> /usr/lib/libkrb5.so: undefined reference to `des_is_weak_key'
> /usr/lib/libkrb5.so: undefined reference to `des_pcbc_encrypt'
> /usr/lib/libkrb5.so: undefined reference to `des_cfb64_encrypt'
> /usr/lib/libgssapi.so: undefined reference to `des_cbc_encrypt'
> /usr/lib/libkrb5.so: undefined reference to `des_set_odd_parity'
> /usr/lib/libkrb5.so: undefined reference to `des_read_pw_string'
> /usr/lib/libgssapi.so: undefined reference to `des_set_key'
> /usr/lib/libkrb5.so: undefined reference to `des_ede3_cbc_encrypt'
> /usr/lib/libgssapi.so: undefined reference to `des_cbc_cksum'
> /usr/lib/libkrb5.so: undefined reference to `des_string_to_key'
> *** Error code 1
>
> What's the fix here? Why isn't this using the pkgsrc installed OpenSSL
> libraries?
>
> (1.6.2 ppc, pkgsrc from today)
>
> Thanks,
> John Klos

-- 
John R. Shannon, CISSP
Sr. Software Scientist
Science Applications International Corporation
john.r.shannon@saic.com
john@johnrshannon.com