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.


In reply to Install Net/SSLeay on macOS Arm M1 by Anonymous Monk

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.