IDE 2.3 + rp2040: can't build on macos 11

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?

Hi @myklemykle.

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.

The latter. It is specified as a dependency by the "Raspberry Pi Pico/RP2040" boards platform from Earle F. Philhower, III. The tool distribution is also provided by Earle Philhower.

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

ln: /System/Volumes/Data/opt/homebrew/bin/python3: File exists

I've never done a Symlink before, so am I doing something wrong?

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

Try this:

ln -s "/System/Volumes/Data/opt/homebrew/bin/python3" "Users/name/Library/Arduino15/packages/rp2040/tools/pqt-python3/1.0.1-base-3a57aed/python3"

that worked, thank you!

You are welcome. I'm glad it is working now.

Regards,
Per

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.