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

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

@X-Ryl669

Description

@X-Ryl669

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions