Closed rimpy-custom closed 2 years ago
Ok, fixed that with adding to the end of makefile: -Wl,-rpath=.
:
g++ -std=c++11 -o SteamworksPy.so -shared -fPIC SteamworksPy.cpp -l steam_api -L. -Wl,-rpath=.
Hello, one question: is it possible to provide the Linux compiled version, like we have for windows? The latest release just have the windows 64 dll.
Just to note, if -Wl,-rpath=.
flag is not set then LD_LIBRARY_PATH
environment variable needs to be set to where libsteam_api.so
is located
PR works for at least for me
Resolved by #72
Have tried to compile SteamworksPy on Debian 10, process was successful. But when I try to use it, I get error:
libsteam_api.so: cannot open shared object file: No such file or directory
ldd SteamworksPy.so
return this:libsteam_api.so => not found
But it is in the same folder. next to SteamworksPy.so file.ldd SteamworksPy.so
from precompiled 1.6.1 release also has the same issue.