Trace/BPT trap: 5 on Mac OS 10.9.2 Mavericks

Rainer Müller raimue at macports.org
Sat Oct 10 10:01:35 PDT 2015


On 2015-10-09 18:13, Clemens Lang wrote:
> ----- On 9 Oct, 2015, at 17:38, Brandon Allbery allbery.b at gmail.com wrote:
> 
>> That kind of path is normally used with application bundles (that is, stuff
>> under /Applications). What exactly are you trying to run? And do you have any
>> DYLD variables set in the environment?
>>
>> $ env | grep DYLD
> 
> Note that due to System Integrity Protection, "env" no longer lists any DYLD_
> variables on El Capitan. Try
>   $ (set -o posix; set) | grep DYLD
> instead.

This has the limitation that it will show all shell variables, not just
those which are exported. This is a subtle difference and the command
above probably works in most cases. The following would only show
exported variables and their values:

  for i in $(compgen -e); do echo "$i=${!i}"; done

Rainer


More information about the macports-users mailing list