I have previously successfully used my ESP32 WROOM on my Mac – now I can’t. Error message is –
<<Referenced from: /Users/comet/Library/Arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/libexec/gcc/xtensa-esp32-elf/5.2.0/liblto_plugin.0.so
Reason: tried: ‘/opt/osxcross/target/bin/../x86_64-apple-darwin12/lib/libstdc++.6.dylib’ (no such file)
collect2: error: ld returned 1 exit status>>
Have repeatedly uninstalled board etc as advised in your troubleshooting advice – no progress. Have uninstalled the entire IDE (tried both 1.8 and 2.0) and nothing.
(tried a variety of cables and different ports as well since I can’t get a COM port).
I’m now stuck – Running version macOS Monterey 12.3 (beta) and I’m running it on Apple M1 Silicon – (or not running it.)
Any ideas please?
Unfortunately, I don’t know how to help with this matter.
I found something similar: https://github.com/espressif/arduino-esp32/issues/6269
This question was made a few days ago. It doesn’t have a response yet. So, I guess it’s a recent issue.
I recommend that you follow that topic and check if someone posts an answer or fixes the issue.
I’m sorry that I can’t help much at the moment.
Thanks Sara at least I now know it’s not pure stupidity on my behalf. I’ve added my voice to the GitHub post and will keep watching. I can’t think of anything other than rolling back my OS that I could’ve tried
It’s not the first time that a MAC OS update crashes the Arduino installationn.
Let me know if you find something.
MacOS Monterey 12.3 introduces a raft of major changes one of which is the removal of Python from the distribution. Python is used by a number of applications including Arduino.
I am not running Monterey as yet (I still have an Intel Mac mini running Big Sur). If you can, go back to 12.2 and wait for all the applications to catch up before upgrading to 12.3.
Otherwise you could try installing Python yourself. Install Homebrew first and then use that to install Python. Make sure you install the correct version that the application needs (I don’t know whether Arduino uses 2.x or 3.x). There may be other things that Arduino needs that I don’t know about so this may not even completely fix the issue but it’s worth a try.
Too late sir! I have just used Homebrew to install something, it seems to be a missing toolchain that’s the issue. Having said that I may have solved the ‘oxcross’ issue, now I’m getting a Python not found in path error. So – back under the hood and hope I don’t break anything I have no understanding of. I can always roll back…
He who dares wins!