Python recompile
The Doctor
doctor at doctor.nl2k.ab.ca
Sun Mar 2 09:35:08 EST 2025
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
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:140 (Python/thread_pthread.h:140)
>>> thread.o:(PyThread_init_thread) in archive /usr/local/lib/libpython3.13.a
ld: error: relocation R_X86_64_32S cannot be used against symbol '_PyRuntime'; recompile with -fPIC
>>> defined in /usr/local/lib/libpython3.13.a(pylifecycle.o)
>>> referenced by thread_pthread.h:141 (Python/thread_pthread.h:141)
>>> thread.o:(PyThread_init_thread) in archive /usr/local/lib/libpython3.13.a
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:(do_start_joinable_thread) in archive /usr/local/lib/libpython3.13.a
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:140 (Python/thread_pthread.h:140)
>>> thread.o:(do_start_joinable_thread) in archive /usr/local/lib/libpython3.13.a
ld: error: relocation R_X86_64_32S cannot be used against symbol '_PyRuntime'; recompile with -fPIC
>>> defined in /usr/local/lib/libpython3.13.a(pylifecycle.o)
>>> referenced by thread_pthread.h:141 (Python/thread_pthread.h:141)
>>> thread.o:(do_start_joinable_thread) in archive /usr/local/lib/libpython3.13.a
ld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC
>>> defined in /usr/local/lib/libpython3.13.a(thread.o)
>>> referenced by thread_pthread.h:290 (Python/thread_pthread.h:290)
>>> thread.o:(do_start_joinable_thread) in archive /usr/local/lib/libpython3.13.a
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_get_thread_ident_ex) in archive /usr/local/lib/libpython3.13.a
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:140 (Python/thread_pthread.h:140)
>>> thread.o:(PyThread_get_thread_ident_ex) in archive /usr/local/lib/libpython3.13.a
ld: error: relocation R_X86_64_32S cannot be used against symbol '_PyRuntime'; recompile with -fPIC
>>> defined in /usr/local/lib/libpython3.13.a(pylifecycle.o)
>>> referenced by thread_pthread.h:141 (Python/thread_pthread.h:141)
>>> thread.o:(PyThread_get_thread_ident_ex) in archive /usr/local/lib/libpython3.13.a
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_get_thread_ident) in archive /usr/local/lib/libpython3.13.a
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:140 (Python/thread_pthread.h:140)
>>> thread.o:(PyThread_get_thread_ident) in archive /usr/local/lib/libpython3.13.a
ld: error: relocation R_X86_64_32S cannot be used against symbol '_PyRuntime'; recompile with -fPIC
>>> defined in /usr/local/lib/libpython3.13.a(pylifecycle.o)
>>> referenced by thread_pthread.h:141 (Python/thread_pthread.h:141)
>>> thread.o:(PyThread_get_thread_ident) in archive /usr/local/lib/libpython3.13.a
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_get_thread_native_id) in archive /usr/local/lib/libpython3.13.a
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:140 (Python/thread_pthread.h:140)
>>> thread.o:(PyThread_get_thread_native_id) in archive /usr/local/lib/libpython3.13.a
ld: error: relocation R_X86_64_32S cannot be used against symbol '_PyRuntime'; recompile with -fPIC
>>> defined in /usr/local/lib/libpython3.13.a(pylifecycle.o)
>>> referenced by thread_pthread.h:141 (Python/thread_pthread.h:141)
>>> thread.o:(PyThread_get_thread_native_id) in archive /usr/local/lib/libpython3.13.a
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_allocate_lock) in archive /usr/local/lib/libpython3.13.a
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:140 (Python/thread_pthread.h:140)
>>> thread.o:(PyThread_allocate_lock) in archive /usr/local/lib/libpython3.13.a
ld: error: relocation R_X86_64_32S cannot be used against symbol '_PyRuntime'; recompile with -fPIC
>>> defined in /usr/local/lib/libpython3.13.a(pylifecycle.o)
>>> referenced by thread_pthread.h:141 (Python/thread_pthread.h:141)
>>> thread.o:(PyThread_allocate_lock) in archive /usr/local/lib/libpython3.13.a
ld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC
>>> defined in /usr/local/lib/libpython3.13.a(thread.o)
>>> referenced by thread_pthread.h:441 (Python/thread_pthread.h:441)
>>> thread.o:(PyThread_allocate_lock) in archive /usr/local/lib/libpython3.13.a
ld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors)
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
--
Member - Liberal International This is doctor at nk.ca Ici doctor at nk.ca
Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising!
Look at Psalms 14 and 53 on Atheism ;
Ontario vote for the Liberals - The best Anti-Trump option!
More information about the Python-list
mailing list