python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
relocation R_X86_64_PC32 against symbol `lua_newstate' can not be used when making a shared object; recompile with -fPIC
I am trying to compile a shared library to ubuntu with Lua, SDL2, SDL2_image, and SDL2_ttf. I get the following compiling error:
relocation R_X86_64_PC32 against symbol `lua_newstate' can not be used ...
srevrtt
Votes: 0
Answers: 0
How to call function/classes in c++ .so files, generated by Bazel, in Python?
Let's say I have a simple class in hello.h
#ifndef LIB_HELLO_GREET_H_
#define LIB_HELLO_GREET_H_
class A{
public:
int a = 0;
int b = 0;
int add(){
return a+b;
}
};
#endif
wi...
checkmark1234321
Votes: 0
Answers: 1
How to make pylint stop complaining about a .so module?
I compiled a python function in a module with Cython getting a my_module.so. It is in the same folder than other .py modules. I import it with from my_module import my_func. Everything works well but ...
alEx
Votes: 0
Answers: 1
Python/Jupyter doesn't recognize cpython-39-darwin.so files
I'm trying to import modules ending in cpython-39-darwin.so and python doesn't recognize them. When I remove cpython-39-darwin and just leave .so, my program can recognize them, but then it raises an ...
Jane Downer
Votes: 0
Answers: 0