raju
raju

Reputation: 4978

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

Upvotes: 13

Views: 60663

Answers (7)

João Paulo Cercal
João Paulo Cercal

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

Chris Stryczynski
Chris Stryczynski

Reputation: 33861

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

Upvotes: 0

Stabledog
Stabledog

Reputation: 3370

On Centos, here's my solution:

sudo yum install perl perl-CPAN perl-Net-SSLeay perl-IO-Socket-SSL

Upvotes: 13

Haroldo Franzin
Haroldo Franzin

Reputation: 21

Centos 6.5:

yum install perl-Net-SSLeay

Upvotes: 2

jeremyforan
jeremyforan

Reputation: 1437

In Ubuntu 12.04

sudo apt-get install libssl-dev

This resolved the issue for me

Upvotes: 17

ekawas
ekawas

Reputation: 6654

On ubuntu, try

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

Upvotes: 35

gpojd
gpojd

Reputation: 23055

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.

Upvotes: 8

Related Questions