Deploy targets ( musl, manylinux, audiwheels ) #1703
Unanswered
RaulTrombin
asked this question in
Q&A
Replies: 1 comment
-
No, you need to use the same libc that python uses. If you are on raspbian, your python will most likely use glibc, so you need to use manylinux builds and can't use musllinux builds. Since you're writing a module that cpython will load and interact with, you can't use static linking but must use dynamic linking. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey, I'm deploying a solution for embeeded linux devices, it's a library that is building thourgh a rust core and binding it to C and Python.
I'm having sucess to build it for armv7 and aarch64, both for manylinux and musl targets.
CI Link - deploys, workflow and status
My question is, they generating .so files inside the python wheels.
They are generated the files inside as dynamic linked libraries, "*so".
I'm tryng to apply static link into this, but no sucess.
How to static link the musl libs inside the python wheel?
If I do this, the manylinux(gcc) target isn't necessary anymore?
Basically my raspbian says it's not compatible with the musl generated wheel, but if I put the musl libc inside it should works, is it right?
Beta Was this translation helpful? Give feedback.
All reactions