Page 1 of 1

Problem when installing IO::Socket::SSL for SPADS

Posted: 23 Aug 2021, 07:24
by MaDDoX
bibim wrote: 13 Feb 2020, 12:00 For example for Debian based distributions (Ubuntu...):

Code: Select all

apt-get install libio-socket-ssl-perl
More generally, it is also possible to install this module without using the system package manager, by using the Perl "cpan" tool:

Code: Select all

cpan IO::Socket::SSL
No idea why, but in Ubuntu (recently upgraded to 21.04) neither apt-get nor cpan was able to build the required IO::Socket::SSL.
After trying it with cpan (After Silentwings told me that TSL wasn't working on my end, I wasn't getting any SPADS errors when trying to connect), I saw errors with Net::SSLeay, which is required by IO::Socket::SSL.
cpan wouldn't compile it after giving me some warnings, so I tried to compile it manually, according to:

https://www.thegeekstuff.com/2008/09/ho ... n-command/

Then finally

Code: Select all

sudo cpan IO::Socket::SSL
worked! Victory! :-)

Re: Problem when installing IO::Socket::SSL for SPADS

Posted: 30 Aug 2021, 10:30
by bibim
MaDDoX wrote: 23 Aug 2021, 07:24 No idea why, but in Ubuntu (recently upgraded to 21.04) neither apt-get nor cpan was able to build the required IO::Socket::SSL.
That's strange, apt-get shouldn't even need to build anything, it should just download and install Perl modules and associated pre-compiled binaries for your distribution...
What error did you get with apt-get ?
MaDDoX wrote: 23 Aug 2021, 07:24 After trying it with cpan (After Silentwings told me that TSL wasn't working on my end, I wasn't getting any SPADS errors when trying to connect), I saw errors with Net::SSLeay, which is required by IO::Socket::SSL.
cpan wouldn't compile it after giving me some warnings, so I tried to compile it manually, according to:

https://www.thegeekstuff.com/2008/09/ho ... n-command/

Then finally

Code: Select all

sudo cpan IO::Socket::SSL
worked! Victory! :-)
Ah, maybe there is a problem with the current default Net::SSLeay version of your distribution, which is only fixed on the latest release that you used when compiling manually?
Thanks for the information.

Re: Problem when installing IO::Socket::SSL for SPADS

Posted: 11 Jul 2024, 03:21
by MaDDoX
Another year, another "IO::Socket::SSL" Perl module error. At least in this latest Ubuntu version (24.04 LTS) the issue was easier to work out, that's what I did:

Code: Select all

sudo perl -MCPAN -e shell

--- will start perl

install CPAN
reload cpan

install Net::SSLeay
install IO::Socket::SSL

Re: Problem when installing IO::Socket::SSL for SPADS

Posted: 11 Jul 2024, 07:25
by bibim
What exactly happened when you tried the normal way ? (i.e. "sudo apt install libio-socket-ssl-perl")