install perl module Net::SSLeay through cpan

前端 未结 7 1406
野的像风
野的像风 2021-02-04 13:29

I have tried to install Net::SSLeay though cpan to install Email::Send::SMTP::TLS but I am getting the following error.

cpan[5]> install Net::SSLeay
Running i         


        
相关标签:
7条回答
  • 2021-02-04 13:37

    Try to install both dependencies listed below. It should solve the issue that you have.

    sudo apt-get install libnet-ssleay-perl
    sudo apt-get install libio-socket-ssl-perl
    
    0 讨论(0)
  • 2021-02-04 13:40

    On ubuntu, try

    sudo apt-get install libnet-ssleay-perl
    sudo apt-get install libcrypt-ssleay-perl
    
    0 讨论(0)
  • 2021-02-04 13:42

    On Centos, here's my solution:

    sudo yum install perl perl-CPAN perl-Net-SSLeay perl-IO-Socket-SSL
    
    0 讨论(0)
  • 2021-02-04 13:49

    Try running through the process on your own manually. From the CPAN prompt:

    1. type look Net::SSLeay to go into a shell in the unpacked directory
    2. perl Makefile.PL
    3. make
    4. make test
    5. make install

    If there is a "README" or "INSTALL" file, try reading those too. If you come across any errors, you can append your question and maybe someone can help.

    0 讨论(0)
  • 2021-02-04 13:49

    Centos 6.5:

    yum install perl-Net-SSLeay
    
    0 讨论(0)
  • 2021-02-04 13:52

    On Arch Linux: pacman -S perl-net-ssleay

    0 讨论(0)
提交回复
热议问题