Reputation: 4978
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
Upvotes: 13
Views: 60663
Reputation: 763
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
Upvotes: 1
Reputation: 3370
On Centos, here's my solution:
sudo yum install perl perl-CPAN perl-Net-SSLeay perl-IO-Socket-SSL
Upvotes: 13
Reputation: 1437
In Ubuntu 12.04
sudo apt-get install libssl-dev
This resolved the issue for me
Upvotes: 17
Reputation: 6654
On ubuntu, try
sudo apt-get install libnet-ssleay-perl
sudo apt-get install libcrypt-ssleay-perl
Upvotes: 35
Reputation: 23055
Try running through the process on your own manually. From the CPAN prompt:
look Net::SSLeay
to go into a shell in the unpacked directoryperl Makefile.PL
make
make test
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.
Upvotes: 8