-
Notifications
You must be signed in to change notification settings - Fork 78
Closed
Description
I'm pretty sure you only look for oqs.dll in OQS_INSTALL_PATH, as opposed to looking for both oqs.dll and liboqs.dll.
Lines 80 to 83 in 1a29e93
| elif platform.system() == "Windows": | |
| paths.append(path.absolute() / Path(name).with_suffix(".dll")) | |
| # Does not work | |
| # os.environ["PATH"] += os.path.abspath(path) |
When looking for the library in
PATH, however, you do look for both.Lines 89 to 94 in 1a29e93
| # Search typical locations | |
| if found_lib := ctu.find_library(name): | |
| paths.insert(0, Path(found_lib)) | |
| if found_lib := ctu.find_library("lib" + name): | |
| paths.insert(0, Path(found_lib)) |
Is there a reason for this behavior? liboqs's default library name in Windows is liboqs.dll (at least in my experience). The obvious fix from my end is to manually rename liboqs.dll to oqs.dll in the directory pointed to by OQS_INSTALL_PATH.
Metadata
Metadata
Assignees
Labels
No labels