Skip to content

Solved: Can’t find SSL when installing Crypt::SSLeay

February 26, 2011

If you’re getting the following error when installing Crypt::SSLeay using Perl’s CPAN:

No installed SSL libraries found in any of the following places.
    /local
    /local/ssl
    /opt/ssl
    /usr
    /usr/local
    /usr/local/ssl
    /usr/local/openssl
You will have to either specify a directory location at the following
prompt, or rerun the Makefile.PL program and use the --lib switch
to specify the path. If the path in question is considered standard
on your platform, please consider filing a bug report in order to
have it taken into account in a subsequent version of Crypt::SSLeay.

Which SSL install path do you want to use?

Then you need to install the SSL development libraries. So on SUSE:

zypper install openssl-devel

And on Ubuntu or Debian:

sudo apt-get install libssl-dev

Once you’ve done that the CPAN installer will automatically work out where your SSL libraries are and will prompt you to confirm that it’s correct – just accept the default and the installation will work.

Advertisements

From → Linux

One Comment
  1. theterabyteboyJon permalink

    Thank you man

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: