undefined symbol: OSSL_provider_init when running "make test" for OpenSSL 3.0
Lee Staniforth
Lee.Staniforth at synchronoss.com
Tue Dec 21 15:09:17 UTC 2021
Hi,
I have been building the 1.1.1 stream of OpenSSL for a while, and am now starting to look at moving to using 3.0.
Building works fine, but testing fails (via "make test").
A number of the tests fail with undefined symbol: OSSL_provider_init:
<snip>
02-test_internal_ctype.t ........... ok
02-test_internal_keymgmt.t ......... ok
02-test_internal_provider.t ........
# ERROR: (bool) 'ossl_provider_activate(prov, 1, 0) == true' failed @ test/provider_internal_test.c:29
# false
# INFO:
# Got this greeting: <NULL>
#
# 403759E7BC7F0000:error:1280006A:DSO support routines:(unknown function):could not bind to the requested symbol name:crypto/dso/dso_dlfcn.c:188:symname(OSSL_provider_init): ../../test/p_test.so: undefined symbol: OSSL_provider_init
# 403759E7BC7F0000:error:1280006A:DSO support routines:(unknown function):could not bind to the requested symbol name:crypto/dso/dso_lib.c:176:
# 403759E7BC7F0000:error:078C0105:common libcrypto routines:(unknown function):init fail:crypto/provider_core.c:907:name=p_test
# OPENSSL_TEST_RAND_ORDER=1640097315
not ok 2 - test_loaded_provider
<snip>
I am using CentOS 7: CentOS Linux release 7.9.2009 (Core)
Compiler is gcc: gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)
This is my Configure line:
./Configure linux-x86_64 no-shared -m64 -fPIC -fvisibility=hidden
This happens with 3.0.0 (2021-Sep-07 12:00:26) and 3.0.1 (2021-Dec-14 16:28:09)
I'd appreciate any help in fixing this.
Thanks in advance.
Lee S
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20211221/ac06b4a8/attachment.htm>
More information about the openssl-users
mailing list