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)

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
        -lwrap.0 => /usr/lib/
        -lcrypt.0 => /lib/
        -lcrypto.2 => /usr/lib/
        -lssl.3 => /usr/lib/
        -lresolv.1 => /usr/lib/
        -lutil.7 => /usr/lib/
        -llber-2.4.2 => /usr/pkg/lib/
        -lpthread.0 => /usr/lib/
        -lcrypto.0.9.8 => /usr/pkg/lib/
        -lssl.0.9.8 => /usr/pkg/lib/
        -lldap-2.4.2 => /usr/pkg/lib/
        -lc.12 => /usr/lib/

netmanager 5# ldd /usr/pkg/lib/
        -lpthread.0 => /usr/lib/
        -lcrypto.0.9.8 => /usr/pkg/lib/

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


Home | Main Index | Thread Index | Old Index