On 5/31/20 1:24 AM, Honggang LI wrote:
As you see, "-lpython3.9" or "-lpython3.9d" library must be provided to the linker. Otherwise, a lot of "undefined reference to xxx" error messages show up.
I'd guess that you're seeing "undefined reference" when you use ldd on the so, and that's expected. That's the wrong way to test the object, though. Instead, install that module and import it from a python3 shell. Do you get errors? You shouldn't.
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx