Just FYI: trying to build openssl 1.1.1d with no-shared fails (on OpenBSD 6.5) see below. I'm not sure why test/cipher_overhead_test is needed for the build. rm -f test/cipher_overhead_test ${LDCMD:-cc} -Wa,--noexecstack -Qunused-arguments -Wall -O3 -L. -o test/cipher_overhead_test test/cipher_overhead_test.o -lssl test/libtestutil.a -lcrypto ld: error: undefined symbol: ssl3_num_ciphers >>> referenced by cipher_overhead_test.c >>> test/cipher_overhead_test.o:(cipher_overhead) ld: error: undefined symbol: ssl3_get_cipher >>> referenced by cipher_overhead_test.c >>> test/cipher_overhead_test.o:(cipher_overhead) ld: error: undefined symbol: ssl_cipher_get_overhead >>> referenced by cipher_overhead_test.c >>> test/cipher_overhead_test.o:(cipher_overhead) cc: error: linker command failed with exit code 1 (use -v to see invocation) *** Error 1 in . (Makefile:8181 'test/cipher_overhead_test') *** Error 1 in [[path removed]]/openssl-1.1.1d (Makefile:174 'all')