install perl module Net::SSLeay through cpan

raju picture raju · Oct 5, 2012 · Viewed 46.6k times · Source

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

Answer

ekawas picture ekawas · Oct 5, 2012

On ubuntu, try

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