pkgsrc-Users archive

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

sendmail, openssl and NetBSD 3.1



If sendmail gets linked against openssl 0.9.8g from pkgsrc (as found in 2008Q1) then it aborts:
netmanager 4# /usr/pkg/libexec/sendmail/sendmail
_res is not supported for multi-threaded programs.
Apr 28 14:52:37 netmanager /netbsd: pid 3032 (sendmail), uid 0: exited on signal 6 (core not dumped, err = 1)
Abort

I guess this is due to the presence of libpthread which was not linked to in 2007Q4 (same version of sendmail, but openssl 0.9.7i)

netmanager 3# ldd /usr/pkg/libexec/sendmail/sendmail
/usr/pkg/libexec/sendmail/sendmail:
        -lwrap.0 => /usr/lib/libwrap.so.0
        -lcrypt.0 => /lib/libcrypt.so.0
        -lcrypto.2 => /usr/lib/libcrypto.so.2
        -lssl.3 => /usr/lib/libssl.so.3
        -lresolv.1 => /usr/lib/libresolv.so.1
        -lutil.7 => /usr/lib/libutil.so.7
        -llber-2.4.2 => /usr/pkg/lib/liblber-2.4.so.2
        -lpthread.0 => /usr/lib/libpthread.so.0
        -lcrypto.0.9.8 => /usr/pkg/lib/libcrypto.so.0.9.8
        -lssl.0.9.8 => /usr/pkg/lib/libssl.so.0.9.8
        -lldap-2.4.2 => /usr/pkg/lib/libldap-2.4.so.2
        -lc.12 => /usr/lib/libc.so.12

netmanager 5# ldd /usr/pkg/lib/libssl.so.0.9.8
/usr/pkg/lib/libssl.so.0.9.8:
        -lpthread.0 => /usr/lib/libpthread.so.0
        -lcrypto.0.9.8 => /usr/pkg/lib/libcrypto.so.0.9.8

I've filed this as pkg/38533 (with the wrong subject :-/), but I'm pretty desperate to get this working. Any clues appreciated.

--
Stephen


Home | Main Index | Thread Index | Old Index