In short, after commits done in the last few days, openssl-1.1 stopped looking for lib<engine>.so, and started looking for <engine>.so. I think it’s an introduced bug that needs to be fixed:
$ ~/src/openssl-1.1/bin/openssl engine pkcs11 -t
140735268914000:error:25066067:DSO support routines:dlfcn_load:could not
load the shared
library:crypto/dso/dso_dlfcn.c:172:filename(/Users/ur20980/src/openssl-1.1/l
ib/engines/pkcs11.dylib):
dlopen(/Users/ur20980/src/openssl-1.1/lib/engines/pkcs11.dylib, 2): image
not found
140735268914000:error:25070067:DSO support routines:DSO_load:could not load
the shared library:crypto/dso/dso_lib.c:220:
140735268914000:error:260B6084:engine routines:dynamic_load:dso not
found:crypto/engine/eng_dyn.c:456:
140735268914000:error:2606A074:engine routines:ENGINE_by_id:no such
engine:crypto/engine/eng_list.c:372:id=pkcs11
$ ln -s /Users/ur20980/src/openssl-1.1/lib/engines/libpkcs11.dylib
/Users/ur20980/src/openssl-1.1/lib/engines/pkcs11.dylib
$ ~/src/openssl-1.1/bin/openssl engine pkcs11 -t
(pkcs11) pkcs11 engine
[ available ]
$
This issue has been reported on Github:
https://github.com/openssl/openssl/issues/727
--
Regards,
Uri Blumenthal
smime.p7s
Description: S/MIME cryptographic signature
-- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
