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.