Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Unable to install Net-SSLeay-1.92

by syphilis (Archbishop)
on Jun 08, 2022 at 00:42 UTC ( [id://11144501]=note: print w/replies, xml ) Need Help??


in reply to [SOLVED] Unable to install Net-SSLeay-1.92

/usr/bin/ld: cannot find -lz

Try installing libz.

Cheers,
Rob

Replies are listed 'Best First'.
Re^2: Unable to install Net-SSLeay-1.92
by stevieb (Canon) on Jun 08, 2022 at 02:13 UTC

    Yes. On my Linux Mint and Ubuntu systems, I have to install the following:

    sudo apt-get install libssl-dev sudo apt-get install zlib1g-dev

    ...before installing Net::SSLeay.

      Thanks for including the module name, that was a big help -- I wouldn't have had a clue what module to install since there are a lot of modules with zlib in the name.

      I have tried to document the fix/close the thread in such a way that the next person in need can find it. Hope that is in line with the culture here.

      Really appreciate the help from both of you.

        G'day monsignor,

        Welcome to the Monastery.

        "... I wouldn't have had a clue what module to install ..."

        For future reference, your best sources for this type of information are files with names like README and INSTALL in the distribution.

        In this instance, the "Prerequisites" section of https://metacpan.org/release/CHRISN/Net-SSLeay-1.92/source/README includes:

        ... * libssl-dev for OpenSSL on Debian and Ubuntu; ... * zlib1g-dev on Debian and Ubuntu; ...

        The main module documentation may also help; however, in this case, the "Net::SSLeay - INSTALLATION" section just points you to the README.

        — Ken

Re^2: Unable to install Net-SSLeay-1.92
by monsignor (Acolyte) on Jun 08, 2022 at 02:47 UTC
    Thanks Rob for spotting that... that seemed to do the trick.

Log In?
Username:
Password:

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

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

    No recent polls found