Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: How to pull author, title using ISBN (WWW::Scraper::ISBN)?

by bangor (Monk)
on Apr 15, 2019 at 22:34 UTC ( [id://1232616]=note: print w/replies, xml ) Need Help??


in reply to Re: How to pull author, title using ISBN (WWW::Scraper::ISBN)?
in thread How to pull author, title using ISBN (WWW::Scraper::ISBN)?

*** Found OpenSSL-1.0.2k installed in /usr

SSLeay.xs:163:25: fatal error: openssl/err.h: No such file or directory

Looks like Net::SSLeay is having trouble finding a compatible version of openssl - what operating system are you on?

Replies are listed 'Best First'.
Re^3: How to pull author, title using ISBN (WWW::Scraper::ISBN)?
by Perl300 (Friar) on Apr 16, 2019 at 14:50 UTC
    Thank you for your response bangor. I am on:
    $ cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.4 (Maipo)

      In that case, the RPM you need is openssl-devel. Install that (or politely ask your sysadm to do it for you) as it includes the required headers.

      Did you get any further with this? First thing I would try is to install (or upgrade) openssl
      yum install openssl
        I did install 'openssl-devel' and 'openssl' is already installed. This was done as root while the script is run as a user who doesn't have root access. Could this be the reason that while installing modules "LWP::Protocol::https" or "Net::SSLeay" openssl is not found as it is installed under /usr? (/usr does have read & write access for all)
        -bash-4.2# yum list installed | grep -i 'openssl' openssl.x86_64 1:1.0.2k-16.el7_6.1 @update +s openssl-devel.x86_64 1:1.0.2k-16.el7_6.1 @update +s openssl-libs.x86_64 1:1.0.2k-16.el7_6.1 @update +s -bash-4.2#

        But still I am getting same errors when I try to run the script or install modules. :-(

        I got it working using Python but would love to get it going using Perl.

        If interested, here is the build.log when I try to install "LWP::Protocol::https"

        If interested, here is the build.log when I try to install "Net::SSLeay"

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1232616]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-03-28 17:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found