You are not logged in.
Hi I'm trying to get to the bottom of an error that irssi is throwing out after I upgraded my system yesterday.
When irssi starts up now, the following is displayed
12:12 -!- Irssi: Error in script autodl_irssi:
12:12 Could not create SSL_CTX: Invalid argument
12:12 Compilation failed in require at /root/.irssi/scripts/AutodlIrssi/HttpRequest.pm line 62.
12:12 BEGIN failed--compilation aborted at /root/.irssi/scripts/AutodlIrssi/HttpRequest.pm line 62.
12:12 Compilation failed in require at /root/.irssi/scripts/AutodlIrssi/MatchedRelease.pm line 40.
12:12 BEGIN failed--compilation aborted at /root/.irssi/scripts/AutodlIrssi/MatchedRelease.pm line 40.
12:12 Compilation failed in require at /root/.irssi/scripts/AutodlIrssi/IrcHandler.pm line 37.
12:12 BEGIN failed--compilation aborted at /root/.irssi/scripts/AutodlIrssi/IrcHandler.pm line 37.
12:12 Compilation failed in require at /root/.irssi/scripts/AutodlIrssi/Startup.pm line 43.
12:12 BEGIN failed--compilation aborted at /root/.irssi/scripts/AutodlIrssi/Startup.pm line 43.
12:12 Compilation failed in require at /root/.irssi/scripts/autorun/autodl-irssi.pl line 76.
12:12 BEGIN failed--compilation aborted at /root/.irssi/scripts/autorun/autodl-irssi.pl line 76.
12:12
12:12 -!- ___ _
12:12 -!- |_ _|_ _ _____(_)
12:12 -!- | || '_(_-<_-< |
12:12 -!- |___|_| /__/__/_|
12:12 -!- Irssi v1.0.2 - http://www.irssi.orgGoogling I am unable to find anyone else with that particular problem. The closest I've found was someone having an issue with sslscan on Ubuntu where it couldn't create a CTX object.
The line 62 in HttpRequest.pm is using SslSocket, so that leads me to believe its related to one of the other package upgrades, likely SSL.
package AutodlIrssi::HttpRequest;
use AutodlIrssi::Globals qw/ currentTime /;
use AutodlIrssi::TextUtils;
use AutodlIrssi::Socket;
use AutodlIrssi::SslSocket; <<<<<<<<<<<<<<<<<<<< line 62
use AutodlIrssi::Irssi;
use Socket qw/ :crlf /;These are the other packages I updated yesterday, (list mostly stripped of anything not related to networking/ssl)
[2017-04-27 01:47] [ALPM] transaction started
[2017-04-27 01:47] [ALPM] upgraded openssl (1.0.2.k-1 -> 1.1.0.e-1)
[2017-04-27 01:47] [ALPM] upgraded libsasl (2.1.26-8 -> 2.1.26-11)
[2017-04-27 01:47] [ALPM] upgraded libssh2 (1.8.0-1 -> 1.8.0-2)
[2017-04-27 01:47] [ALPM] upgraded libsecret (0.18.5-1 -> 0.18.5+14+g9980655-1)
[2017-04-27 01:47] [ALPM] upgraded krb5 (1.13.7-1 -> 1.15-1)
[2017-04-27 01:47] [ALPM] upgraded s-nail (14.8.16-1 -> 14.8.16-2)
[2017-04-27 01:47] [ALPM] upgraded gpgme (1.9.0-1 -> 1.9.0-3)
[2017-04-27 01:47] [ALPM] upgraded ca-certificates-mozilla (3.30.1-1 -> 3.30.2-1)
[2017-04-27 01:48] [ALPM] upgraded iputils (20161105.1f2bb12-1 -> 20161105.1f2bb12-2)
[2017-04-27 01:48] [ALPM] upgraded ldns (1.7.0-2 -> 1.7.0-3)
[2017-04-27 01:48] [ALPM] upgraded openssh (7.4p1-2 -> 7.5p1-2)
[2017-04-27 01:48] [ALPM] upgraded python2-cryptography (1.8.1-2 -> 1.8.1-4)
[2017-04-27 01:48] [ALPM] upgraded python2-pyopenssl (16.2.0-2 -> 17.0.0-1)
[2017-04-27 01:48] [ALPM] upgraded perl-crypt-openssl-random (0.11-2 -> 0.11-3)
[2017-04-27 01:48] [ALPM] upgraded perl-net-http (6.13-1 -> 6.14-1)
[2017-04-27 01:48] [ALPM] upgraded perl-net-ssleay (1.80-1 -> 1.80-2)
[2017-04-27 01:48] [ALPM] upgraded perl-crypt-ssleay (0.73_04-4 -> 0.73_04-5)
[2017-04-27 01:48] [ALPM] upgraded perl-crypt-openssl-bignum (0.07-1 -> 0.07-2)
[2017-04-27 01:48] [ALPM] upgraded perl-crypt-openssl-rsa (0.28-8 -> 0.28-9)
[2017-04-27 01:48] [ALPM] installed openssl-1.0 (1.0.2.k-3)
[2017-04-27 01:49] [ALPM] upgraded php-mcrypt (7.1.4-1 -> 7.1.4-2)
[2017-04-27 01:49] [ALPM] upgraded irssi (1.0.2-1 -> 1.0.2-2)
[2017-04-27 01:49] [ALPM] upgraded python-cryptography (1.8.1-2 -> 1.8.1-4)
[2017-04-27 01:49] [ALPM] upgraded python-pyopenssl (16.2.0-2 -> 17.0.0-1)Looking at the list I am unsure why I have openssl installed twice, but checking with pacman I have both a version from "core" and "extras"
[xxx@xxx scripts]# pacman -Ss openssl
core/openssl 1.1.0.e-1 [installed]
The Open Source toolkit for Secure Sockets Layer and Transport Layer Security
core/pkcs11-helper 1.22-2
A library that simplifies the interaction with PKCS11 providers for end-user applications using a simple API and optional OpenSSL engine
extra/openssl-1.0 1.0.2.k-3 [installed]
The Open Source toolkit for Secure Sockets Layer and Transport Layer Securityand looking at dependencies of installed packages, it is needed for "qt4" and "nodejs", however I've had those both installed for a while so that won't be a new thing,
Nothing is output to the system logs that I can see.
Anyone any suggestions? (I'm also asking on irssi's irc channel but this seems more system related than the specific package given the lack of this error anywhere else)
Last edited by tarasis (2017-04-27 16:05:08)
Offline
Looks like one (or more) of your scripts is outdated.
Out of interest, why are you running an irc client as root?
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Looks like one (or more) of your scripts is outdated.
Thanks for the reply WorMzy. I will check, I thought I had installed a fresh version of the autodl-irssi-community files from github, as the package in aur is out of date.
Out of interest, why are you running an irc client as root?
I don't normally, but as an attempt to rule out as many variables as possible I tried the same setup as root and its those details that I copy and pasted
Offline
Just an update. I went through and removed openssl-1.0 (removing any packages that needed it) and then run irssi
16:57 -!- Irssi: Error in script autodl_irssi:
16:57 Can't load '/usr/lib/perl5/site_perl/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: libssl.so.1.0.0: cannot open shared object file: No such file or directory at
/usr/lib/perl5/core_perl/DynaLoader.pm line 193.
16:57
16:57 -!- ___ _
16:57 -!- |_ _|_ _ _____(_)
16:57 -!- | || '_(_-<_-< |
16:57 -!- |___|_| /__/__/_|
16:57 -!- Irssi v1.0.2 - http://www.irssi.orgI have re-installed perl-net-ssleay and irssi but I still get the same error. Looking at the package page https://www.archlinux.org/packages/extr … et-ssleay/ it says it depends on openssl and not openssl-1.0. Likewise for irssi https://www.archlinux.org/packages/extra/x86_64/irssi/ it also depends on openssl and not openssl-1.0.
How do I best resolve this? Do I need to rebuild a package?
Removed packages throughout process:
nodejs dependency: Packages (5) http-parser-2.7.1-1 semver-5.3.0-1 nodejs-7.9.0-1 npm-4.5.0-1 stylus-0.54.5-1
qt4 dependency: Packages (13) chromaprint-1.4.2-1 libmng-2.0.3-1 mutagen-1.37-1 python-dbus-common-1.2.4-2 python2-dbus-1.2.4-2 python2-musicbrainz2-0.7.4-3 python2-sip-4.19.2-1 sip-4.19.2-1 puddletag-1.2.0-1
pyqt4-common-4.12-4 python2-pyqt4-4.12-4 qt4-4.8.7-18 qtwebkit-2.3.4-5
perl-net-ssleay [rob@dedi lib]$ sudo pacman -Rs perl-net-ssleay perl-io-socket-ssl spamassassin spamass-milter autodl-irssi-community rutorrent-autodl-irssi-community
checking dependencies...
:: git optionally requires perl-libwww: git svn
:: perl-anyevent optionally requires perl-json: send or receive JSON with AnyEvent::Handle
:: perl-anyevent optionally requires perl-json-xs: send or receive JSON with AnyEvent::Handle
:: perl-anyevent optionally requires perl-net-ssleay: TLS/SSL connections with AnyEvent::Handle
:: perl-net-dns optionally requires perl-io-socket-inet6: IPv6 support
:: perl-net-dns optionally requires perl-socket6: IPv6 support
Packages (45) irssi-1.0.2-2 perl-archive-zip-1.59-1 perl-crypt-openssl-bignum-0.07-2 perl-crypt-openssl-random-0.11-3 perl-crypt-openssl-rsa-0.28-9 perl-crypt-ssleay-0.73_04-5
perl-encode-locale-1.05-1 perl-file-listing-6.04-2 perl-html-parser-3.72-2 perl-html-tagset-3.20-4 perl-http-cookies-6.03-1 perl-http-daemon-6.01-2 perl-http-date-6.02-2
perl-http-message-6.11-2 perl-http-negotiate-6.01-2 perl-io-html-1.001-1 perl-io-socket-inet6-2.72-1 perl-json-2.90-1 perl-json-xs-3.02-3 perl-libwww-6.24-1 perl-lwp-mediatypes-6.02-2
perl-lwp-protocol-https-6.06-2 perl-mail-dkim-0.40-1 perl-mail-spf-2.9.0-1 perl-mailtools-2.18-1 perl-net-http-6.14-1 perl-netaddr-ip-4.079-2 perl-path-class-0.37-1 perl-socket6-0.28-1
perl-timedate-2.30-2 perl-try-tiny-0.28-1 perl-types-serialiser-1.0-1 perl-www-robotrules-6.02-2 perl-xml-libxml-2.0129-1 perl-xml-libxslt-1.95-1 perl-xml-namespacesupport-1.11-3
perl-xml-sax-0.99-4 perl-xml-sax-base-1.08-3 re2c-0.16-1 autodl-irssi-community-1.64-2 perl-io-socket-ssl-2.044-1 perl-net-ssleay-1.80-2 rutorrent-autodl-irssi-community-1.62.1-3
spamass-milter-0.4.0-1 spamassassin-3.4.1-7Offline
16:57 Can't load '/usr/lib/perl5/site_perl/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: libssl.so.1.0.0: cannot open shared object file: No such file or directory at/usr/lib/perl5/site_perl/auto/Net/SSLeay/SSLeay.so is not supplied by perl-net-ssleay which uses /usr/lib/perl5/vendor_perl/auto/Net/SSLeay/SSLeay.so
Edit:
added missing /
Last edited by loqs (2017-04-27 15:42:02)
Offline
16:57 Can't load '/usr/lib/perl5/site_perl/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: libssl.so.1.0.0: cannot open shared object file: No such file or directory at/usr/lib/perl5/site_perl/auto/Net/SSLeay/SSLeay.so is not supplied by perl-net-ssleay which uses /usr/lib/perl5/vendor_perl/auto/Net/SSLeay/SSLeay.so
Edit:
added missing /
Thank you loqs and WorMzy for your assitance.
Removing the version of SSLeay from site_perl was the needed step.
I have absolutely no recollection of manually installing Net-SSLeay into site_perl, or the Digest-SHA that is in there. pkgfiles also doesn't help me identify where it came from.
Ah well. problem solved.
Offline