[MacPorts] #65157: ghc @9.2.2 error on 10.6.8: dyld: Symbol not found: _environ, expected in: /opt/x86_64/lib/libMacportsLegacySystem.B.dylib

MacPorts noreply at macports.org
Sun May 15 12:48:43 UTC 2022


#65157: ghc @9.2.2 error on 10.6.8: dyld: Symbol not found: _environ, expected in:
/opt/x86_64/lib/libMacportsLegacySystem.B.dylib
---------------------------+---------------------------------
  Reporter:  barracuda156  |      Owner:  essandess
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.2
Resolution:                |   Keywords:  x86_64, snowleopard
      Port:  ghc           |
---------------------------+---------------------------------

Comment (by barracuda156):

 Replying to [comment:9 kencu]:
 > Therefore, you should be able to build ghc 9.2.2 using the ghc 9.0.x I
 fixed for SnowLeopard here:
 >
 > https://github.com/kencu/ghc-for-older-darwin-
 systems/releases/download/9.0.1/ghc-9.0.1-x86_64-apple-darwin10.tar.xz

 If you could share the source code, it would be super-helpful. (I tried
 building `ghc` @9.2.2 now using your @9.0.1, and it failed immediately. I
 guess some changes to the source are needed, and those should be not much
 different from changes you made to @9.0.1.)

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


More information about the macports-tickets mailing list