• Making 'compiled' modules work with multiple python versions on Linux

    From Olivier B.@3:633/280.2 to All on Fri Mar 29 02:07:04 2024
    I have a python module that includes some C++ code that links with the
    Python C API

    I have now modified the c++ code so that it only uses the Limited API,
    and linked with python3.lib instead of python311.lib.

    I can now use that python module with different python versions on Windows

    But on Linux, it seems that linking to libpython3.so instead of libpython3.11.so.1.0 does not have the same effect, and results in
    many unresolved python symbols at link time

    Is this functionality only available on Windows?

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: ---:- FTN<->UseNet Gate -:--- (3:633/280.2@fidonet)