Re: Making 'compiled' modules work with multiple python versions on Linux

Liste des GroupesRevenir à cl python 
Sujet : Re: Making 'compiled' modules work with multiple python versions on Linux
De : barry (at) *nospam* barrys-emacs.org (Barry)
Groupes : comp.lang.python
Date : 29. Mar 2024, 10:10:17
Autres entêtes
Message-ID : <mailman.30.1711703449.3468.python-list@python.org>
References : 1 2
User-Agent : iPad Mail (21E236)


On 28 Mar 2024, at 16:13, Olivier B. via Python-list <python-list@python.org> wrote:
 
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?

Python limited API works on linux, but you do not link against the .so on linux I recall.

You will have missed that libpython3.so is a symlink to libpython3.11.so.10.

Windows build practices do not translate one-to-one to linux, or macOS.

Barry



Date Sujet#  Auteur
29 Mar 24 o Re: Making 'compiled' modules work with multiple python versions on Linux1Barry

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal