-
Hi, I'm having some issues in cross-compiling a library that links with the Python interpreter. I'm using Ubuntu 22.04 as host system with the following packages installed:
Rust is version I ran the build with this command: But I get this error:
And
Any suggestion? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
I think the error message is kinda outdated, |
Beta Was this translation helpful? Give feedback.
-
Seems that the And that I need to change my
But now I have Symbols not found errors coming from one of the libraries loaded within Python, similar to what we experienced in #2024 |
Beta Was this translation helpful? Give feedback.
Seems that the
PYO3_CROSS_LIB_DIR=/lib/aarch64-linux-gnu/
was not needed.And that I need to change my
build.rs
to :But now I have Symbols not found errors coming from one of the libraries loaded within Python, similar to what we experienced in #2024
And seems that the workaround we where using there is not working when cross-building.