Skip to content

Build succeeds but wheel is broken on cross compile. #2176

Answered by messense
Tlunch asked this question in Q&A
Discussion options

You must be logged in to vote

EXT_SUFFIX = ".cpython-38.so"

Looks like this isn't a standard python installation which should have EXT_SUFFIX = ".cpython-38-aarch64-linux-gnu.so" (or EXT_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 additional ext_suffix key in the config file.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Tlunch
Comment options

@messense
Comment options

Answer selected by Tlunch
@Tlunch
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2160 on August 06, 2024 09:09.