Search code examples
perlemailopensslsendmailcpan

install perl module Net::SSLeay through cpan


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 install for module 'Net::SSLeay'
Running make for M/MI/MIKEM/Net-SSLeay-1.49.tar.gz
  Has already been unwrapped into directory /home/ubuntu/.cpan/build/Net-SSLeay-1.49-VDZ57t
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible

Solution

  • On ubuntu, try

    sudo apt-get install libnet-ssleay-perl
    sudo apt-get install libcrypt-ssleay-perl