Re: send-email: Net::SMTP::SSL failure
- From
Samuel Lijin <sxlijin@gmail.com>
- Date
- Jun 8, 2017, 00:06 UTC
- Message-ID
- <CAJZjrdUSVeZ-zHpeyuN4p29Hg8eGk6ip2Tikkrh-wE-KaxWbEw@mail.gmail.com>
- In-Reply-To
- <CACBZZX5Zdn5XpjsWchww+LxyqN+Y=BqrGJ6wrXUW3PnRcsw-fQ@mail.gmail.com>
On Wed, Jun 7, 2017 at 4:43 PM, Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote:
Show 7 quoted lines
> Ah, so you installed Net::SSLeay via CPAN, and then upgraded your Arch > openssl, breaking the CPAN-built *.so object? > >> Agreed that send-email should be report errors properly. It's a rather >> essential tool. > > Indeed, do you get a meaningful error if you apply my patch?
FWIW I'm on Arch as well and am getting what I assume is a related error:
SSLeay.c: loadable library and perl binaries are mismatched (got handshake key 0xdb80080, needed 0xde00080)
The last patch I sent out was on 5/23, and I just ran a system upgrade today (only one I've done since then), which presumably is what "broke" send-email. I used CPAN to install Net::SMTP::SSL, Mime::Base64, and Authen::SASL; I assume that Net::SSLeay is installed as a dependency of one of the three (presumably the first)?
I know Net::SSLeay isn't controlled by Arch's package manager:
$ perldoc -l Net::SSLeay /usr/lib/perl5/site_perl/Net/SSLeay.pod $ pacman -Qo /usr/lib/perl5/site_perl/Net/SSLeay.pod error: No package owns /usr/lib/perl5/site_perl/Net/SSLeay.pod
Ævar's patch unfortunately does not fix or change anything for me.
Liam: when you say "uninstall" /usr/{lib,share}/perl5/site_perl/*, do
you just mean rm -rf?