Skip to content

Allow dynamic loading in musl builds while CPython itself is static #86

Closed
@achimnol

Description

@achimnol

I'd like to ship a few wheels including pre-built C modules along with the musl-based standalone Python from here.
When I try to run python -m ensurepip (e.g., #84) or any other imports that involves dynamic loading of C libraries (e.g., ctypes, pyzmq, etc.) then it exits with OSError: Dynamic loading not supported.

Could we have a musl-based static build that allows dynamic loading of additional non-standard modules?
It seems that 0d3ae2a has disabled the ability to use dynamic loading.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestplatform:linuxSpecific to the Linux platform

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions