unable to upload any sketch to Yun

osx snow leopard 10.6.8 arduino yun arduino 1.6.1

Hi! I tried to upgrade openwrt image on my yun, following the instructions I downloaded the image, put on root directory on sd and before upgrading: upload bridge/serial sketch, found this error:

dyld: Library not loaded: /usr/lib/libedit.3.dylib Referenced from: /Volumes/untitled/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avrdude_bin Reason: image not found

Tried changing to java 32bits in java utilities, but same problem, I tried also uploading different sketches but same error, I'm able to connect to the web interface but not uploading.

Please help!

It looks like an issue with macosx system libraries. Try following this guide http://www.ludicroussoftware.com/blog/2011/12/12/fixing-the-corona-debugger-in-snow-leopard/

In essence

cd /usr/lib
sudo ln -s libedit.2.dylib libedit.3.dylib

Thank you very much! easy fix :)