Can't locate IO/Socket/SSL.pm in @INC

Hi all,


I am running a script and I got the issue [1]. In the script there is a line


use IO::Socket::SSL;


and at this point it fails and got error [1]. If anyone has idea how to fix this then please let me know.


My os version is MacOS High Sierra version 10.13.1.


with regards,
Ram




[1]

Can't locate IO/Socket/SSL.pm in @INC (you may need to install the IO::Socket::SSL module) (@INC contains: /usr/local/Cellar/perl/5.26.1/lib/perl5/site_perl/5.26.1/darwin-thread-multi-2level /usr/local/Cellar/perl/5.26.1/lib/perl5/site_perl/5.26.1 /usr/local/Cellar/perl/5.26.1/lib/perl5/5.26.1/darwin-thread-multi-2level /usr/local/Cellar/perl/5.26.1/lib/perl5/5.26.1 /usr/local/lib/perl5/site_perl/5.26.1/darwin-thread-multi-2level /usr/local/lib/perl5/site_perl/5.26.1) at notes/tdr line 1683.

BEGIN failed--compilation aborted at notes/tdr line 1683.

When you installed the IO::Socket::SSL module, did it prompt you to also install Net::SSLeay as well?

Sounds like a question for homebrew. I thought it was supposed to prevent such things from happening.


I suggest dumping homebrew and learning how to use install and use locally bundled packages.

Can't locate IO/Socket/SSL.pm in @INC
 
 
Q