Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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
like image 692
raju Avatar asked Oct 05 '12 16:10

raju


People also ask

How do I install Perl modules in CPAN?

To install Perl modules using CPAN, you need to use the cpan command-line utility. You can either run cpan with arguments from the command-line interface, for example, to install a module (e.g Geo::IP) use the -i flag as shown.


2 Answers

On ubuntu, try

sudo apt-get install libnet-ssleay-perl
sudo apt-get install libcrypt-ssleay-perl
like image 195
ekawas Avatar answered Sep 18 '22 20:09

ekawas


In Ubuntu 12.04

sudo apt-get install libssl-dev

This resolved the issue for me

like image 31
jeremyforan Avatar answered Sep 18 '22 20:09

jeremyforan