fatal error: runtime: bsdthread_register error (unset DYLD_INSERT_LIBRAR

Hi All,

I'm trying to start with Arduino, but I can not compile any sketch. Compiler says "fatal error: runtime: bsdthread_register error (unset DYLD_INSERT_LIBRARIES)"

I'm using Mac OS X 10.9.5 and tried IDE 1.8.1 and few 1.6.x (1.6 was recommended on the russian arduino forum).

Hope for you support!

The solution has been found. I put it here for any case..

  1. Open Trerminal
  2. Execute touch ~/.bash_profile
  3. Execute open ~/.bash_profile
    File "bash_profile" will be opened in TextEdit
  5. Save, quit and reboot

This way helps me. Mac OS X 10.9.5 with Arduino IDE 1.8.1