We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 328ca53 commit f646683Copy full SHA for f646683
oqs/oqs.py
@@ -87,11 +87,17 @@ def _load_shared_obj(
87
# os.environ["LD_LIBRARY_PATH"] += os.path.abspath(path)
88
89
# Search typical locations
90
- if found_lib := ctu.find_library(name):
91
- paths.insert(0, Path(found_lib))
+ try:
+ if found_lib := ctu.find_library(name):
92
+ paths.insert(0, Path(found_lib))
93
+ except:
94
+ pass
95
- if found_lib := ctu.find_library("lib" + name):
96
97
+ if found_lib := ctu.find_library("lib" + name):
98
99
100
101
102
for path in paths:
103
if path:
0 commit comments