Skip to content

Option to pass --exclude to auditwheel repair to exclude libEGL (or other libraries) #2118

Open
@HinTak

Description

Description

auditwheel repair has an --exclude option , apparently. It would be nice to expose this to cibuildwheel usage. The specific use case is libEGL.

The bundled libEGL is what causes the segfault:

kyamagu/skia-python#294

If I download the untested wheel, run patchelf --replace-needed ... in reverse for libEGL, then it works.

What happens, I think, is this: libEGL is a stub/ trampoline library from the libglvnd project to load libEGL_* from GPU vendors or mesa on a per screen basis. It must be next to the vendor's to be useful. Loading a relocated copy means it can't even find the mesa one for typical fallback, therefore it crashes.

Build log

No response

CI config

No response

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