[MacPorts] #63415: p5.28-net-ssleay failed to compile under Monterey (21A5304g)

MacPorts noreply at macports.org
Tue Sep 21 22:37:12 UTC 2021


#63415: p5.28-net-ssleay failed to compile under Monterey (21A5304g)
----------------------------+----------------------
  Reporter:  ilTofa         |      Owner:  (none)
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.7.1
Resolution:                 |   Keywords:  monterey
      Port:  p5-net-ssleay  |
----------------------------+----------------------

Comment (by steven-michaud):

 I ran into the same problem and found a workaround: Change the
 'perl5.default_branch' setting in git's 'Portfile' from '5.28' to '5.30'.
 This makes git use Perl 5.30 instead of 5.28. For some reason Perl 5.30
 builds just fine.

 The "loading libcrypto in an unsafe way" error happens when something
 tries to load macOS's own unversioned 'libcrypto.dylib'. It doesn't happen
 loading MacPorts' 'libcrypto.dylib', versioned or unversioned. Only the
 macOS copy triggers this error. This has been true at least since macOS 11
 (BigSur). For some reason MacPorts' Perl 5.28 tries to load the macOS copy
 -- even when a MacPorts copy already exists in '/opt/local/lib'. This
 doesn't happen with Perl 5.30.

-- 
Ticket URL: <https://trac.macports.org/ticket/63415#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list