Closed prchander closed 4 years ago
make sure you export LD_LIBRARY_PATH and verify using env command
Did you follow all instructions from https://github.com/open-quantum-safe/liboqs-python#installation? Including export LD_LIBRARY_PATH
if using Linux or on Windows ensure that the liboqs shared library oqs.dll is visible system-wide. Use the "Edit the system environment variables" Control Panel tool or type in a Command Prompt
set PATH="%PATH%;C:\some\dir\liboqs\build\bin"
Still Shared Library Not Found
I followed the instructions in liboqs python wrapper to install as a shared library (make -GNinja -DBUILD_SHARED_LIBS=ON ..). Then I cloned liboqs-python and setup a venv called test inside. I then installed setup.py. I then tried to run the kem example with python3 examples/kem.py but the code breaks because it could not load the liboqs library. I have tried multiple variants of liboqs shared library command but I have not gotten any of them to work. Am I doing something wrong or missing a step?