in reply to Re: Net::SSleay install on Mac
in thread Net::SSleay install on Mac

Hey Ken!

Thanks for the reply!

I see the error "... incompatible architecture (have (arm64), need (x86_64)) ...", but not sure how to rectify it.

When running perlbrew install perl-5.36.0 got the following error: BELOW

sw_vers does shows: sw_vers ProductName: macOS ProductVersion: 12.6 BuildVersion: 21G115

I upgraded cpan: cpan -v /Users/kevin/perl5/perlbrew/perls/perl-5.35.1/bin/cpan script version 1.678, CPAN.pm version 2.34

not sure how to fix: /Users/kevin/Downloads/... /Users/kevin/perl5/perlbrew/... I used README.OSX as a guide...

You may give one or more space-separated answers, or "none" if appropr +iate. If you have a handcrafted Policy.sh file or a Policy.sh file generated + by a previous run of Configure, you may specify it as well as or instead of OS-specific hints. If hints are provided for your OS, you should use +them: although Perl can probably be built without hints on many platforms, u +sing hints often improve performance and may enable features that Configure + can't set up on its own. If there are no hints that match your OS, specify " +none"; DO NOT give a wrong version or a wrong OS. Which of these apply, if any? [darwin] *** Unexpected product version 12.6. *** *** Try running sw_vers and see what its ProductVersion says. ##### Brew Failed #####
cpanm --install --verbose Net::SSLeay BEGIN failed--compilation aborted at /Users/kevin/.cpanm/work/1665584 +834.24667/Net-SSLeay-1.92/blib/lib/Net/SSLeay/Handle.pm line 8. # Compilation failed in require at t/handle/local/05_use.t line 8. # BEGIN failed--compilation aborted at t/handle/local/05_use.t line 8. # Looks like you failed 1 test of 1. t/handle/local/05_use.t ..................... Dubious, test returned 1 + (wstat 256, 0x100) Failed 1/1 subtests t/local/01_pod.t ............................ ok t/local/02_pod_coverage.t ................... skipped: These tests are + for only for release candidate testing. Enable with RELEASE_TESTING= +1 t/local/03_use.t ............................ 1/1 # Failed test 'use Net::SSLeay;' # at t/local/03_use.t line 11. # Tried to use 'Net::SSLeay'. # Error: Can't load '/Users/kevin/.cpanm/work/1665584834.24667/Ne +t-SSLeay-1.92/blib/arch/auto/Net/SSLeay/SSLeay.bundle' for module Net +::SSLeay: dlopen(/Users/kevin/.cpanm/work/1665584834.24667/Net-SSLeay +-1.92/blib/arch/auto/Net/SSLeay/SSLeay.bundle, 0x0002): symbol not fo +und in flat namespace (_GENERAL_NAME_free) at /Users/kevin/perl5/perl +brew/perls/perl-5.35.1/lib/5.35.1/darwin-2level/DynaLoader.pm line 19 +7. # at t/local/03_use.t line 11. # Compilation failed in require at t/local/03_use.t line 11. # BEGIN failed--compilation aborted at t/local/03_use.t line 11. # # Testing Net::SSLeay 1.92 # # Perl information: # Version: '5.035001' # Executable path: '/Users/kevin/perl5/perlbrew/perls/perl-5.35.1/bi +n/perl5.35.1' # # Library version with SSLeay(): HANGS HERE UNTIL TIMEOUT