The suspected root issue (as of this moment) is that your Perl environment doesn't have the correct versions of the
Net::SSLeay and
IO::Socket::SSL modules. As there exist many versions of these modules, there's no telling which version a particular package provider offers. Yum might offer 0.1, APT might offer 0.2, CPAN might offer 0.3a, zypper might offer 0.2b, you get the idea.
You could also download, build, and install those modules totally from the source code. Or change them and create your own version; Call it
Net::SSLeayButBetter or whatever and load it into your Perl environment. Or, as previously mentioned, have a package manager take care of all of that auto-magically and be at the mercy of whatever version the package manager distributes. The same goes for Python, Node, R, most modern software ecosystems that have package managers. Just because a package manager offers some piece of software doesn't necessarily mean it's the
latest version of that software.
CPAN is the Comprehensive Perl Archive Network. It's like yum/apt/pip/npm, but specifically for Perl modules.
If the command is not found, I would suggest installing the cpan package first:
Then, once CPAN is appropriately set up, run the commands again:
Code: Select all
cpan -i Net::SSLeay
cpan -i IO::Socket::SSL
As a general Linux tip, if a command is not found, try installing it as a package.