Why isn’t DYLD_LIBRARY_PATH being propagated here?
Presumably, you are running El Capitan (OS X 10.11) or later. It’s a side effect of System Integrity Protection. From the System Integrity Protection Guide: Runtime Protections article: When a process is started, the kernel checks to see whether the main executable is protected on disk or is signed with an special system entitlement. If … Read more