You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently trying to build the repository with Linux Ubuntu, following the README and am receiving the following error when executing the ninja command:
[662/680] Linking C shared library lib/liboqs.so.0.10.1-dev
FAILED: lib/liboqs.so.0.10.1-dev
: && /usr/bin/cc -fPIC -Wl,-z,noexecstack -shared -Wl,-soname,liboqs.so.5 -o lib/liboqs.so.0.10.1-dev @CMakeFiles/oqs.rsp && :
/usr/bin/ld: /usr/bin/openssl: stdin: invalid version 5 (max 0)
/usr/bin/ld: /usr/bin/openssl: error adding symbols: bad value
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
For the cmake before I used cmake -DBUILD_SHARED_LIBS=ON -GNinja ..
Previous to adding the shared library option I received the same error but for different tests as in e.g. tests/example_kem and others.
I've looked up the error and so far have not found a solution that works or any similar error in the issues on this page. Any help or idea for a solution would be greatly appreciated. Thanks!
Environment:
OS: Ubuntu 24.04
OpenSSL version: 3.0.13
Compiler version used: gcc 13.2.0
liboqs version main branch
The text was updated successfully, but these errors were encountered:
Hello,
I am currently trying to build the repository with Linux Ubuntu, following the README and am receiving the following error when executing the
ninja
command:For the
cmake
before I usedcmake -DBUILD_SHARED_LIBS=ON -GNinja ..
Previous to adding the shared library option I received the same error but for different tests as in e.g.
tests/example_kem
and others.I've looked up the error and so far have not found a solution that works or any similar error in the issues on this page. Any help or idea for a solution would be greatly appreciated. Thanks!
Environment:
The text was updated successfully, but these errors were encountered: