I just updated OpenSMTPD to the v5.4.4 release on an OpenBSD 5.6 system patched with LibreSSL 2.1.4. The smtpd executable is linked the the older LibreSSL library files however.

Locations of the older and newer LibreSSL libraries:

$ sudo find /usr/ -name 'libssl.so*' -type f
/usr/local/lib/libssl.so.30.0
/usr/local/lib/libssl.so.32.0
<snip>
/usr/lib/libssl.so.27.0
/usr/lib/libssl.so.20.0

smtpd linked to older version:

$ ldd /usr/sbin/smtpd
/usr/sbin/smtpd:
        Start            End              Type Open Ref GrpRef Name
000005fedba00000 000005fedbe91000 exe 1 0 0 /usr/sbin/smtpd 000006017582a000 0000060175c36000 rlib 0 1 0 /usr/lib/libevent.so.4.1 00000601b62d0000 00000601b66dc000 rlib 0 1 0 /usr/lib/libutil.so.12.1 00000600deabc000 00000600def17000 rlib 0 1 0 /usr/lib/libssl.so.27.0 00000601aa047000 00000601aa616000 rlib 0 1 0 /usr/local/lib/libcrypto.so.30.3 00000601a716e000 00000601a7596000 rlib 0 1 0 /usr/lib/libm.so.9.0 000006018a208000 000006018a61d000 rlib 0 1 0 /usr/lib/libz.so.5.0 00000601cac17000 00000601cb100000 rlib 0 1 0 /usr/lib/libc.so.77.0 00000601af200000 00000601af200000 rtld 0 1 0 /usr/libexec/ld.so


Typically I would solve this problem by specifying the location of the newer LibreSSL 2.1.4 libraries using a configure script option such as '--with-ssl-dir=/usr/local'. There does not appear to be a configure script for the OpenBSD version of the OpenSMPTD source.

Any suggested workarounds?

--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to