Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Doesn't work with a MacOSX before Big Sur #4

Open
X-Ryl669 opened this issue Apr 23, 2023 · 0 comments
Open

Doesn't work with a MacOSX before Big Sur #4

X-Ryl669 opened this issue Apr 23, 2023 · 0 comments

Comments

@X-Ryl669
Copy link

X-Ryl669 commented Apr 23, 2023

When running on a Mac with OS X version prior to Big Sur, it fails with:

$ ./pycom-fwtool-svc
[89336] Error loading Python lib '/var/folders/mj/rtz2sw7x349bg9tl6xrfptr40000gn/T/_MEIvKpglC/Python': dlopen: dlopen(/var/folders/mj/rtz2sw7x349bg9tl6xrfptr40000gn/T/_MEIvKpglC/Python, 10): Symbol not found: _preadv
  Referenced from: /var/folders/mj/rtz2sw7x349bg9tl6xrfptr40000gn/T/_MEIvKpglC/Python (which was built for Mac OS X 11.0)
  Expected in: /usr/lib/libSystem.B.dylib
 in /var/folders/mj/rtz2sw7x349bg9tl6xrfptr40000gn/T/_MEIvKpglC/Python

This is due to the fact that the embedded Python wasn't built correctly. It should have been built with MACOS_DEPLOYMENT_TARGET set to 10.9 as specified here, so it can work on any Mac OS X version from 10.9 to 13

Can you rebuilt it with adding the specified variable to the configure line ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant