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.1Then I run:
cpan Net::SSLeayAnd 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.
|
|---|