After reinstalling Arduino 2.3 from scratch, plus the arduino-pico core from Philhower, I hit this glitch: something installed a version of Python in Arduino15/packages/rp2040/tools that was compiled for macos 14, and can't run on my system: macos 11.7.10 on Apple Silicon. (Arduino 2.3 claims to support macos 11.)
Building a sketch with arduino-cli, I get this error message at the final link stage:
dyld: Symbol not found: _mkfifoat
Referenced from: /Volumes/External/mykle/Library/Arduino15/packages/rp2040/tools/pqt-python3/1.0.1-base-3a57aed/python3 (which was built for Mac OS X 14.2)
Expected in: /usr/lib/libSystem.B.dylib
The workaround is to replace that python3 binary with a symlink to a working python3 binary, such as the one installed by brew.
This seems like a bug, but I'm just not sure whose bug it is. How does that pqt-python3/ directory get installed? Does it come from the main Arduino install or the board support files?
That is for the application itself. It doesn't (and can't) apply to the tool dependencies of the various boards platforms that might be used in combination with the IDE.
Arduino boards platforms may specify tool dependencies. The Arduino IDE Boards Manager installs these tools in addition to the platform.
I'm having this issue too. How'd you do the symlink? I'm doing $ln -s "Users/name/Library/Arduino15/packages/rp2040/tools/pqt-python3/1.0.1-base-3a57aed/python3" "Ststeym/Volumes/Data/opt/homebrew/bin/python3"
But i'm getting
Hi @bright_li. You have the order of the arguments to ln reversed. The first argument is the "target" of the link. The second argument is the path at which to create the link. So your command is attempting to create a link at /System/Volumes/Data/opt/homebrew/bin/python3