Replies: 1 comment 3 replies
-
Looks like the compilation fails because PyO3's build script adds -L native=/usr/lib/x86_64-linux-gnu, If I remove this it works. Can someone explain why this is required? I am guessing it has to do something with linking with Python. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi folks, I am trying to use PyO3 and tch-rs in a project and linking fails if PyO3 is introduced to the project with the following error -
Any thoughts or ideas? The operating system is Linux/Ubuntu 22.04 I am assuming it's because of some linker args PyO3 passes along to rustc.
Here is a reproduction of the issue - https://github.com/diptanu/pyo3-tch
Beta Was this translation helpful? Give feedback.
All reactions