Subject: OpenSSL upgrade part two
To: None <tech-pkg@netbsd.org>
From: John Klos <john@ziaspace.com>
List: tech-pkg
Date: 12/28/2004 23:33:04
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