Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to repair without manylinux #514

Open
thewh1teagle opened this issue Sep 13, 2024 · 2 comments
Open

Option to repair without manylinux #514

thewh1teagle opened this issue Sep 13, 2024 · 2 comments

Comments

@thewh1teagle
Copy link

thewh1teagle commented Sep 13, 2024

I'm using audiowheel in the project https://github.com/thewh1teagle/piper-phonemize-fork and I would like to repair the wheel to include the required shared libraries on Linux.

When trying to repair it failed with the error

auditwheel repair dist/piper*.whl
INFO:auditwheel.main_repair:Repairing piper_phonemize_fork-1.2.0-cp312-cp312-linux_x86_64.whl
usage: auditwheel [-h] [-V] [-v] command ...
auditwheel: error: cannot repair "dist/piper_phonemize_fork-1.2.0-cp312-cp312-linux_x86_64.whl" to "manylinux_2_5_x86_64" ABI because of the presence of too-recent versioned symbols. You'll need to compile the wheel on an older toolchain.

I don't need manylinux for now, I just want to repair it (rpath) so the shared libraries will be included and keep it simple. is that possible? if not, can you add option for that?

@marcelotduarte
Copy link

You can use patchelf.

@mayeut
Copy link
Member

mayeut commented Jan 4, 2025

You should probably pass --plat with a supported tag depending on your distro. The default is manylinux1 which is too old for your use case.

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

No branches or pull requests

3 participants