[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-janitors] #1277: Crash on Mac OS X
From: |
Chicken Trac |
Subject: |
Re: [Chicken-janitors] #1277: Crash on Mac OS X |
Date: |
Mon, 11 Apr 2016 08:20:49 -0000 |
#1277: Crash on Mac OS X
-----------------------+--------------------
Reporter: sjamaan | Owner:
Type: defect | Status: new
Priority: critical | Milestone: 4.11.0
Component: unknown | Version: 4.10.x
Resolution: | Keywords:
-----------------------+--------------------
Comment (by sjamaan):
This turns out to be caused by a new "security" feature in OS X El Capitan
([[
https://developer.apple.com/library/mac/documentation/Security/Conceptual/System_Integrity_Protection_Guide/RuntimeProtections/RuntimeProtections.html|System
Integrity Protection]]), which breaks backward compatibility by
obliterating environment variables like {{{DYLD_LIBRARY_PATH}}} for so-
called "system" binaries, like {{{/bin/sh}}}. When {{{csc}}} invokes
{{{chicken}}}, it will do so through the shell, which means we lose
{{{DYLD_LIBRARY_PATH}}}.
This affects many other projects:
* [[https://ghc.haskell.org/trac/ghc/ticket/11617|GHC]]
* [[http://www.postgresql.org/message-
id/address@hidden|PostgreSQL]]
*
[[https://github.com/CocoaPods/CocoaPods/issues/4121#issue-104721479|CocoaPods]]
* [[https://github.com/oracle/node-
oracledb/issues/149#issuecomment-170747121|NodeJS OracleDB bindings]]
* Probably many, many more
See also [[http://stackoverflow.com/a/11585225/588561|this Stack Overflow
post]] for one possible workaround.
--
Ticket URL: <http://bugs.call-cc.org/ticket/1277#comment:1>
CHICKEN Scheme <http://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.