Option to pass --exclude to auditwheel repair to exclude libEGL (or other libraries) #2118
Open
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:
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
Labels
No labels