On 2015-05-01, Marko Cupać <[email protected]> wrote: > Hi, > > I have just upgraded to 5.7 and am in process of applying errata > patches. > > 04_smtpd.patch.sig applies fine, but building smtpd afterwards fails > with the following message: > > ssl.o(.text+0x9df): In function `ssl_ctx_create': >: undefined reference to `SSL_CTX_use_certificate_chain_mem' > collect2: ld returned 1 exit status > *** Error 1 in smtpd (<bsd.prog.mk>:85 'smtpd') > *** Error 1 in /usr/src/usr.sbin/smtpd (<bsd.subdir.mk>:48 'all')
The previous line of output (linker command line) probably has -lressl not -ltls. If so, same problem as you're seeing in httpd (wrong src) is likely.

