[MacPorts] #60722: DYLD_LIBRARY_PATH doesn't work in <command>.env (was: test.env doesn't work)

MacPorts noreply at macports.org
Sun Sep 25 07:20:42 UTC 2022


#60722: DYLD_LIBRARY_PATH doesn't work in <command>.env
-------------------------+--------------------
  Reporter:  ryandesign  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  base        |    Version:  2.6.99
Resolution:              |   Keywords:
      Port:              |
-------------------------+--------------------

Comment (by jmroot):

 Again, base is setting the environment variable correctly, it's SIP that
 is removing it (command_exec uses system which uses /bin/sh). The only way
 to avoid that would be to never run things via OS-provided executables.

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


More information about the macports-tickets mailing list