-
Bug DescriptionThe build succeeds both when specifying a target and not. The natively built wheel installs and imports fine. The wheel with a I believe that if this is an issue with my linker or installation, maturin should fail on build. If this is a bug with the build please let me know what other information it would be helpful to gather. Your maturin version (
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
The build log looks fine, what's the output of |
Beta Was this translation helpful? Give feedback.
Looks like this isn't a standard python installation which should have
EXT_SUFFIX = ".cpython-38-aarch64-linux-gnu.so"
(orEXT_SUFFIX = ".cpython-38-aarch64-linux-musl.so"
if it has the musllinux patch).To fix it you need to supply a custom pyo3 config to adjust the
EXT_SUFFIX
, see https://pyo3.rs/v0.22.2/building-and-distribution#advanced-config-files and put an additionalext_suffix
key in the config file.