Skip to content

Commit 5ecdf23

Browse files
committed
Fix?
1 parent 88cd6db commit 5ecdf23

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

oqs/oqs.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,9 @@ def _load_shared_obj(name, additional_searching_paths=None):
4747
os.path.abspath(path) + os.path.sep + "lib" + name + ".dylib"
4848
)
4949
if platform.system() == "Linux":
50-
print(os.path.abspath(path))
51-
os.environ["LD_LIBRARY_PATH"] += os.path.abspath(path) # Linux
50+
paths.append(os.path.abspath(path) + os.path.sep + "lib" + name + ".so")
51+
# https://stackoverflow.com/questions/856116/changing-ld-library-path-at-runtime-for-ctypes
52+
# os.environ["LD_LIBRARY_PATH"] += os.path.abspath(path)
5253
if platform.system() == "Windows":
5354
os.environ["PATH"] += os.path.abspath(path) # Windows
5455
# Search typical locations

0 commit comments

Comments
 (0)