After upgrading to Perl 5.10 on an Ubuntu Linux box, I went to use a script which, deep inside LWP::UserAgent, uses Crypt::SSLeay. This script worked flawlessly for > 1 year on 5.8. But on 5.10 I got this message.

Crypt::SSLeay not installed: /usr/local/bin/myscript.pl (via LWP) will support https URLs if the Cr +ypt::SSLeay module is installed.

I then tried to use the cpan shell to install Crypt::SSLeay. I got this message:

This host looks like it is running Debian. Crypt::SSLeay needs to be c +ompiled with C headers that the libssl-dev package makes available. P +lease install that package before trying to build this module. (You c +an always deinstall the package afterwards, once Crypt::SSLeay has be +en built). Which SSL install path do you want to use?

Finally, when I went to (re-)install libssl-dev, I got the following message through both apt-get and the Synaptic Package Manager:

[~] 503 $ sudo apt-get install libssl-dev Reading package lists... Done Building dependency tree... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely tha +t the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: The following packages have unmet dependencies: libssl-dev: Depends: zlib1g-dev but it is not going to be installed E: Broken packages [~] 504 $ sudo apt-get install zlib1g-dev Reading package lists... Done Building dependency tree... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely tha +t the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: The following packages have unmet dependencies: zlib1g-dev: Depends: zlib1g (= 1:1.2.3-6ubuntu4) but 1:1.2.3-13ubunt +u2 is to be installed
Suggestions as to how to proceed? Thanks in advance.
Jim Keenan

In reply to Crypt::SSLeay problem after upgrading to 5.10 by jkeenan1

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.