openssl engine -t -c -vvvv qat: DSO support routines:dlfcn_load:could not load the shared library:crypto/dso/dso_dlfcn.c:118:filename(/usr/local/ssl/lib/engines-1.1/qat.so): /usr/local/ssl/lib/engines-1.1/qat.so: undefined symbol: qat_ioctl
- Dominant language
- C
- Stars
- 443
- Forks
- 137
- PR merge metrics
- No merged PRs in 30d
Description
CentOS Linux release 7.2.1511 (Core)
qatmux.l.2.6.0-60 with QAT.L.R2.6.0-60.patch , QAT1.6
There is 4 acceleration device(s) in the system:
icp_dev0 - type=dh895xcc, inst_id=0, node_id=0, bdf=3d:00:0, #accel=6, #engines=12, state=up
icp_dev1 - type=dh895xcc, inst_id=1, node_id=1, bdf=88:00:0, #accel=6, #engines=12, state=up
icp_dev2 - type=dh895xcc, inst_id=2, node_id=1, bdf=b1:00:0, #accel=6, #engines=12, state=up
icp_dev3 - type=dh895xcc, inst_id=3, node_id=1, bdf=da:00:0, #accel=6, #engines=12, state=up
openssl-1.1.1d , ./config --prefix=/usr/local/ssl -Wl,-rpath,/usr/local/ssl/lib
QAT Engine 0.5.42 , ./configure --with-qat_dir=/root/hecong/qatmux.l.2.6.0-60/QAT1.6 --with-openssl_dir=/root/hecong/openssl-1.1.1d --with-openssl_install_dir=/usr/local/ssl --enable-multi_thread --with-qat_install_dir=/usr/lib64
./openssl engine -t -c -vvvv qat, get errors below:
140391366149952:error:25066067:DSO support routines:dlfcn_load:could not load the shared library:crypto/dso/dso_dlfcn.c:118:filename(/usr/local/ssl/lib/engines-1.1/qat.so): /usr/local/ssl/lib/engines-1.1/qat.so: undefined symbol: qat_ioctl
140391366149952:error:25070067:DSO support routines:DSO_load:could not load the shared library:crypto/dso/dso_lib.c:162:
140391366149952:error:260B6084:engine routines:dynamic_load:dso not found:crypto/engine/eng_dyn.c:414:
140391366149952:error:2606A074:engine routines:ENGINE_by_id:no such engine:crypto/engine/eng_list.c:334:id=qat
if build QAT Engine without '--enable-multi_thread', ./openssl engine -t -c -vvvv qat can run without error
Contributor guide
Assessment
This issue has not been assessed yet.