Comments (5)
This looks like your build setup cannot find liboqs
(shared or static). Please post the exact configure
command as well as the resultant ld
command leading to these error messages. Also helpful would be sharing the output of ls
of your oqs-openssl build directory when this error occurred.
from oqs-demos.
Latest version of liboqs
was built correctly, so the oqs folder embeded in the openssl directory exists (include and lib folder). The configure
command was actually run through Nginx (version 1.20.1) so as to compile Nginx and OQS-OpenSSL together:
./configure --pid-path=/run/nginx.pid --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-path=/usr/lib/nginx/modules --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --lock-path=/var/run/nginx.lock --with-openssl=/opt/openssl --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-compat --with-file-aio --with-threads --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_flv_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_mp4_module --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-mail --with-mail_ssl_module --with-stream --with-stream_realip_module --with-stream_ssl_module --with-stream_ssl_preread_module --with-cc-opt='-I/opt/openssl/oqs/include-g -O2 -fdebug-prefix-map=/data/builder/debuild/nginx-1.20.1/debian/debuild-base/nginx-1.20.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fPIC' --with-ld-opt='-L/opt/openssl/oqs/lib-Wl,-z,relro -Wl,-z,now -Wl,--as-needed -pie'
Notice the --with-cc-opt=
and --with-ld-opt=
referencing the header and library files of OQS-OpenSSL.
from oqs-demos.
Very well -- then that doesn't explain the problems immediately. Can you please also paste the actual ld
(or linking gcc
) command line trigging the error messages above? That's one hell of a software config stack... On second glance, the --with-ld-opt='-L/opt/openssl/oqs/lib-Wl,-z,relro -Wl,-z,now -Wl,--as-needed -pie
piece looks suspicious in my eyes: If there is indeed no space between "-L/opt/openssl/oqs/lib" and "-Wl,-z" (??) I wouldn't want to bet on ´ld´ finding liboqs
...
from oqs-demos.
The issue was solved with the the space between "-L/opt/openssl/oqs/lib" and "-Wl,-z" . Yes it is a pretty hefty config stack, im currently writing a master thesis on migrating Nginx servers to post-quantum TLS and part of this is a migration tool that takes a users pre-existing Nginx configure arguments and appends the relevant oqs references. Although a bit problematic when the default configure arguments are so hefty when first installing Nginx through a package manager like apt-get.
from oqs-demos.
OK, so let's close this issue then. As discussed here let's talk about integrating your work into oqs-demos as and when you have time.
from oqs-demos.
Related Issues (20)
- unable to pull the chrome file from server HOT 1
- Cannot switch off OQS_HAVE_GETENTROPY, OQS_HAVE_EXPLICIT_BZERO HOT 3
- Fix integrations to specific commits?
- OQS Chromium(117.0.5863.0) : ERR_SSL_VERSION_OR_CIPHER_MISMATCH HOT 15
- curl --write-out time_appconnect for SSL/TLS Handshake variable is faulty HOT 4
- Failed to build oqs-nginx on Mac M1
- Failed to build httpd on Mac M1 HOT 1
- ee key too small has occured in nginx with debian:bookworm-slim HOT 5
- https://test.openquantumsafe.org:6000 does not accept `x25519_kyber768`
- Wireshark Docker Build Fails with WolfSSL Due to Undeclared 'QSC_SIG_CPS' Variable HOT 1
- Update test server with liboqs 0.9.2 release HOT 3
- Introduce CI mechanism to use specific liboqs/oqs-provider versions
- Add QUIC support HOT 3
- !DOCTYPE ERROR HOT 1
- Not able to get OQS-Chromium browser working - https://openquantumsafe.org/applications/tls.html#chromium HOT 19
- oqs-epiphany not working HOT 11
- qteslapi is not supported by oqs openssl HOT 1
- Dont get Server Temp Key in openssl s_client when testing HOT 1
- Update test server with liboqs 0.10.0 release HOT 8
- HAProxy HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oqs-demos.