kikuchiyo has asked for the wisdom of the Perl Monks concerning the following question:
At $work, an application that uses SSL sockets began to crash with the following error message after a system upgrade:
Can't locate auto/Net/SSLeay/SSL_alert_d.al in @INC (@INC contains: /u +sr/bin/../../lib /usr/bin/.. /usr/bin/../.. /usr/bin/../lib /usr/loca +l/lib64/perl5/5.36 /usr/local/share/perl5/5.36 /usr/lib64/perl5/vendo +r_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 +) at /usr/share/perl5/vendor_perl/IO/Socket/SSL.pm line 3685.
The offending line, which was introduced in IO::Socket::SSL 2.076, is this:
$msg_name = eval { Net::SSLeay::SSL_alert_desc_string_long +($msg_type) } || "Unknown alert";
But it is possible to trigger a similar error with just
perl -MNet::SSLeay -le 'print Net::SSLeay::SSL_alert_desc_string_long( +1)'
This function seems to be a well-established exported function of OpenSSL, which is exposed to the Perl module in SSLeay.xs. The SSLeay.so library certainly has a similarly named symbol. But the error message, with the truncated function name seems to indicate that some breakage is going on around function export/import/autoloading.
My questions:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Can't locate auto/Net/SSLeay/SSL_alert_d.al
by hippo (Archbishop) on May 12, 2023 at 13:06 UTC | |
by kikuchiyo (Hermit) on May 12, 2023 at 13:14 UTC | |
by hippo (Archbishop) on May 18, 2023 at 09:53 UTC | |
|
Re: Can't locate auto/Net/SSLeay/SSL_alert_d.al
by hv (Prior) on May 12, 2023 at 13:10 UTC | |
by kikuchiyo (Hermit) on May 12, 2023 at 13:24 UTC |