Re: Python recompile

Richard Heathfield <[email protected]>
Newsgroups comp.lang.c,comp.lang.c++,comp.lang.python
Organization Fix this later
Message-ID <[email protected]>
On 02/03/2025 17:54, Waldek Hebisch wrote:
> In comp.lang.c The Doctor <[email protected]> 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.

I have written hundreds of thousands of lines of real-world code 
in standard C, all of which would be topical here. The real world 
is bigger than you think.

-- 
Richard Heathfield
Email: rjh at cpax dot org dot uk
"Usenet is a strange place" - dmr 29 July 1999
Sig line 4 vacant - apply within
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.