engine
engine copied to clipboard
OpenSSL 3.1.4: undefined symbol: bind_engine
OS: Fresh OpenSUSE Tumbleweed OpenSSL: 3.1.4 Gost engine: v3.0.3
Engine installed to:
- /usr/lib64/engines-3/gost.so
- /usr/local/lib64/libgost.so
Changes in default config:
...
[ engine_section ]
...
gost = gost_section
[gost_section]
engine_id = gost
dynamic_path = /usr/local/lib64/libgost.so
default_algorithms = ALL
...
Error:
root@thinkbook:/etc/ssl> openssl version
FATAL: Startup failure (dev note: apps_startup()) for openssl
4047BCD7E07F0000:error:1280006A:DSO support routines:dlfcn_bind_func:could not bind to the requested symbol name:crypto/dso/dso_dlfcn.c:188:symname(bind_engine): /usr/local/lib64/libgost.so: undefined symbol: bind_engine
4047BCD7E07F0000:error:1280006A:DSO support routines:DSO_bind_func:could not bind to the requested symbol name:crypto/dso/dso_lib.c:176:
4047BCD7E07F0000:error:13000068:engine routines:dynamic_load:DSO failure:crypto/engine/eng_dyn.c:455:
4047BCD7E07F0000:error:13000066:engine routines:int_engine_configure:engine configuration error:crypto/engine/eng_cnf.c:139:section=gost_section, name=dynamic_path, value=/usr/local/lib64/libgost.so
4047BCD7E07F0000:error:0700006D:configuration file routines:module_run:module initialization error:crypto/conf/conf_mod.c:276:module=engines, value=engine_section retcode=-1
Только что проехался по этим же граблям. Ошибка заключается в том, что в dynamic_path нужно указывать /usr/lib64/engines-3/gost.so а не libgost.so