Opened 8 years ago

Closed 8 years ago

#667 closed defect (fixed)

Apple's SIP messes up build

Reported by: epruesse Owned by: westram
Priority: normal Milestone:
Component: no idea Version:
Keywords: Cc: mcottrell

Description

Since El Capitan, apple has added something called "System Integrity Protection" aka "rootless". Meant to protect from malware messing with the system, one of the things that mechanism does is deleting LD_LIBRARY_PATH and all DYLD_* from the environment for "protected" processes.

"make" itself isn't protected, but it uses /bin/sh to execute the recipes, and that's protected, so LD_LIBRARY_PATH is removed from the environment.

Still investigating this. For now, copying /bin/sh to $ARBHOME/bin and setting SHELL to $ARBHOME/bin/sh seems to fix the issue.

Change History (3)

comment:1 Changed 8 years ago by westram

  • Cc mcottrell added

see also closed duplicate #673

comment:2 Changed 8 years ago by epruesse

The easiest fix is probably really to just symlink /bin/sh to $ARBHOME/bin, thereby sidestepping SIP.

comment:3 Changed 8 years ago by westram

  • Owner changed from devel to westram
  • Resolution set to fixed
  • Status changed from new to closed

Fixed by

  • [14792] for trunk
  • [14793] for stable branch (release arb-6.0.4 triggered)
Note: See TracTickets for help on using tickets.