| Deutsch English Français Italiano |
|
<vq260p$u8ub$1@paganini.bofh.team> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!3.eu.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!newsfeed.bofh.team!paganini.bofh.team!not-for-mail
From: antispam@fricas.org (Waldek Hebisch)
Newsgroups: comp.lang.c,comp.lang.c++,comp.lang.python
Subject: Re: Python recompile
Date: Sun, 2 Mar 2025 17:54:35 -0000 (UTC)
Organization: To protect and to server
Message-ID: <vq260p$u8ub$1@paganini.bofh.team>
References: <vq1qas$j22$1@gallifrey.nk.ca>
Injection-Date: Sun, 2 Mar 2025 17:54:35 -0000 (UTC)
Injection-Info: paganini.bofh.team; logging-data="992203"; posting-host="WwiNTD3IIceGeoS5hCc4+A.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="9dIQLXBM7WM9KzA+yjdR4A";
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (Linux/6.1.0-9-amd64 (x86_64))
X-Notice: Filtered by postfilter v. 0.9.3
Bytes: 1465
Lines: 13
In comp.lang.c The Doctor <doctor@doctor.nl2k.ab.ca> wrote:
> How do I compensate for
>
> ld: error: relocation R_X86_64_32 cannot be used against symbol '_PyRuntime'; recompile with -fPIC
>>>> defined in /usr/local/lib/libpython3.13.a(pylifecycle.o)
>>>> referenced by thread_pthread.h:138 (Python/thread_pthread.h:138)
>>>> thread.o:(PyThread_init_thread) in archive /usr/local/lib/libpython3.13.a
>
This is real world question and as such is considered off-topic
in comp.lang.c. However, you could try '-no-pie' to the compiler.
--
Waldek Hebisch