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

Install Net/SSLeay on macOS Arm M1

by Anonymous Monk
on Jul 10, 2021 at 18:49 UTC ( [id://11134902]=perlquestion: print w/replies, xml ) Need Help??

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I need your venerable help

I can not install Net/SSLeay on a brand new macOS M1 computer. First of all I installed:

brew install openssl@1.1

Then I run:

cpan Net::SSLeay

And I got:

Configuring C/CH/CHRISN/Net-SSLeay-1.90.tar.gz with Makefile.PL Do you want to run external tests? These tests *will* *fail* if you do not have network connectivity. [n] + n *** Found LibreSSL-2.8.3 installed in /usr *** Be sure to use the same compiler and options to compile your OpenS +SL, perl, and Net::SSLeay. Mixing and matching compilers is not supported. Checking if your kit is complete... Looks good WARNING: /Users/fc/perl5/perlbrew/perls/perl-5.34.0/bin/perl is loadin +g libcrypto in an unsafe way Warning: No success on command[/Users/fc/perl5/perlbrew/perls/perl-5.3 +4.0/bin/perl Makefile.PL] CHRISN/Net-SSLeay-1.90.tar.gz /Users/fc/perl5/perlbrew/perls/perl-5.34.0/bin/perl Makefile.PL -- N +OT OK

I am suspecting it has to do with finding "LibreSSL-2.8.3" instead of "openssl" which I used to link in the past, but I am not sure...any suggestion is welcomed

PS: the solution proposed in the answer in Mac M1 Homebrew Perl Carton Net::SSLeay is loading libcrypto in an unsafe way did not work for me

2021-07-28 Athanasius linkified the link.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2024-04-26 06:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found