Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

With your bare hands?!?


devel / comp.lang.python / Re: Making 'compiled' modules work with multiple python versions on Linux

SubjectAuthor
o Re: Making 'compiled' modules work with multiple python versions on LinuxBarry

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

<mailman.30.1711703449.3468.python-list@python.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=29751&group=comp.lang.python#29751

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: barry@barrys-emacs.org (Barry)
Newsgroups: comp.lang.python
Subject: Re: Making 'compiled' modules work with multiple python versions on
Linux
Date: Fri, 29 Mar 2024 09:10:17 +0000
Lines: 22
Message-ID: <mailman.30.1711703449.3468.python-list@python.org>
References: <CA+cSArj6HQ=ULfoa2R7Jwc_M-8k7mBbTHU6Qsm5BsyzhVFwBeQ@mail.gmail.com>
<72BBD020-130F-4026-9A53-F757C2576654@barrys-emacs.org>
Mime-Version: 1.0 (1.0)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de Oh1XmSzynsRc+D/qSgvHeQHiEa3pv/0Honseky6Lpycw==
Cancel-Lock: sha1:yf48Xx0tUUw9iCS+tFCeFqmKcfY= sha256:ncErloeQCpSnjkDSBdwPLX89A6FUEdkCN+Oeh0dcv1g=
Return-Path: <barry@barrys-emacs.org>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.000
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'pfxlen:0': 0.03;
'subject:python': 0.06; 'linux,': 0.07; 'mar': 0.07; 'translate':
0.07; 'cc:addr:python-list': 0.09; 'from:addr:barry': 0.09;
'linux': 0.09; 'received:217.70': 0.09; 'received:217.70.178':
0.09; 'received:gandi.net': 0.09; 'received:mail.gandi.net': 0.09;
'cc:no real name:2**0': 0.14; 'barry': 0.16; 'from:addr:barrys-
emacs.org': 0.16; 'message-id:@barrys-emacs.org': 0.16; 'missed':
0.16; 'recall.': 0.16; 'subject:compiled': 0.16;
'subject:modules': 0.16; 'wrote:': 0.16; 'python': 0.16; 'api':
0.17; 'instead': 0.17; 'cc:addr:python.org': 0.20; 'cc:2**0':
0.25; 'seems': 0.26; 'practices': 0.26; 'python-list': 0.32;
'but': 0.32; 'windows': 0.34; 'same': 0.34; 'header:In-Reply-
To:1': 0.34; 'limited': 0.62; 'received:217': 0.67; 'linking':
0.76; 'effect,': 0.84
In-Reply-To: <CA+cSArj6HQ=ULfoa2R7Jwc_M-8k7mBbTHU6Qsm5BsyzhVFwBeQ@mail.gmail.com>
X-Mailer: iPad Mail (21E236)
X-GND-Sasl: barry@barrys-emacs.org
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <72BBD020-130F-4026-9A53-F757C2576654@barrys-emacs.org>
X-Mailman-Original-References: <CA+cSArj6HQ=ULfoa2R7Jwc_M-8k7mBbTHU6Qsm5BsyzhVFwBeQ@mail.gmail.com>
 by: Barry - Fri, 29 Mar 2024 09:10 UTC

> 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

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor