Your OQS library was not properly installed, to fix that you gonna have to follow these steps, first we install the needed dependencies
sudo apt-get update
sudo apt-get install -y build-essential git cmake python3 libssl-dev
Then we clone the liboqs
repo
git clone https://github.com/open-quantum-safe/liboqs.git
we install it
cd liboqs
mkdir build
cd build
cmake -GNinja -DOQS_USE_OPENSSL=1 ..
ninja
sudo ninja install
Then we clone the OQS-OpenSSL
repo
cd ~
git clone https://github.com/open-quantum-safe/openssl.git
then we build it
cd openssl
./Configure shared --prefix=/usr/local/ssl --openssldir=/usr/local/ssl linux-x86_64
make -j
Normaly it should work, if not try
./Configure shared --prefix=/usr/local/ssl --openssldir=/usr/local/ssl linux-x86_64 -I/usr/local/include -L/usr/local/lib
make -j
then we install it sudo make install
last we update the LD_LIBRARY_PATH
environment variable.
export LD_LIBRARY_PATH=/usr/local/ssl/lib:$LD_LIBRARY_PATH
edit:
You should have liboqs.so
present in /usr/local/lib, if not there there was a problem with the install of OQS library.
Run the ./Configure
command
cd ~/openssl
./Configure shared --prefix=/usr/local/ssl --openssldir=/usr/local/ssl linux-x86_64 -I/usr/local/include -L/usr/local/lib -DOQS_DIR=/usr/local
then
make -j
then we try sudo make install