Replies: 1 comment
-
Disregard. I re-ran but with updated Python (Python 3.11.2) and the installation was successful. Thank you. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm currently running 'python conanfile.py on Kali Linux (Debian 6.1.12-1) on VM under Windows 11.
It errors out with the following:
/usr/bin/ld: /usr/local/lib/libpython3.7m.a(classobject.o): warning: relocation against
PyInstanceMethod_Type' in read-only section
.text'/usr/bin/ld: /usr/local/lib/libpython3.7m.a(abstract.o): relocation R_X86_64_PC32 against symbol `_Py_NotImplementedStruct' can not be used when making a shared object; recompile with -fPIC
I've tried adding -fPIC to the .conan/profiles/profile file
I've tried recompiling the base Python 3.7.16 using -fPIC flags
I've also tried to update the flags listed in CMakeCache.txt, adding -fPIC to the compiler flag options
I've also added shell variable values for both C and C++ flags (CFLAGS=-m64 -fPIC
CXXFLAGS=-m64 -fPIC)
And tried just re-running the cmake command, to continue the build where it broke:
cmake --build '/home/kali/Hack-a-Sat/basilisk-develop/dist3' '--' '-j4'
But still receive the errors
Any assistance is appreciated.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions