With the latest LibreSSL, this happens: openssl.o: In function `ssl_init': openssl.c:(.text+0x577): undefined reference to `RAND_egd' openssl.o: In function `ssl_open': openssl.c:(.text+0x11a3): undefined reference to `SSLv2_client_method' openssl.c:(.text+0x124b): undefined reference to `SSLv3_client_method' collect2: error: ld returned 1 exit status
(In reply to Jason A. Donenfeld from comment #0) > With the latest LibreSSL, this happens: > > openssl.o: In function `ssl_init': > openssl.c:(.text+0x577): undefined reference to `RAND_egd' > openssl.o: In function `ssl_open': > openssl.c:(.text+0x11a3): undefined reference to `SSLv2_client_method' > openssl.c:(.text+0x124b): undefined reference to `SSLv3_client_method' > collect2: error: ld returned 1 exit status Can you try with dev-libs/libressl:0/38. I think it might still fail against SSLv2 but not SSLv3 but memory is failing me about which is in there. Nonetheless, nail will hit this with openssl sooner or later since both are heading for full deprecation.
The Debian package https://packages.debian.org/source/wheezy/heirloom-mailx has 0002-Patched-out-SSL2-support-since-it-is-no-longer-suppo.patch , which fixes at least the SSLv2 issue. It might be good to have a look at the very actively developed fork s-nail/s-mailx (http://www.sdaoden.eu/code.html), which has fixes for all libressl issues. (But they don't look straightforward to backport.)
(In reply to Felix Janda from comment #2) > The Debian package > > https://packages.debian.org/source/wheezy/heirloom-mailx > > has 0002-Patched-out-SSL2-support-since-it-is-no-longer-suppo.patch , > which fixes at least the SSLv2 issue. > > > It might be good to have a look at the very actively developed fork > s-nail/s-mailx (http://www.sdaoden.eu/code.html), which has fixes for > all libressl issues. (But they don't look straightforward to backport.) Does anyone know if nail is being actively maintained? If not we might want to consider the fork as a replacement.
Latest stable mail-client/nail-12.4-r3 builds and runs fine with dev-libs/libressl-{2.6.4, 2.7.2}