On Sun, May 31, 2020 at 10:30:32AM -0700, Gordon Messmer wrote:
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
We have to compile/build the module before we can import it from a
python3 shell. The problem is how to compile the modules without pass
"-lpython3.9" or "-lpython3.9d" to the linker (/usr/bin/ld).
errors? You shouldn't.
_______________________________________________
devel mailing list -- devel(a)lists.fedoraproject.org
To unsubscribe send an email to devel-leave(a)lists.fedoraproject.org
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@lists.fedoraproject.org