Open ColinIanKing opened 11 months ago
can you share your build configure flags of debian package? It looks like qat_sw is enabled in your build and crypto_mb and ipsec_mb library is not installed prior to qatengine installation.
From the flags below it looks QAT_HW is not enabled, Please see if qatlib library is also installed.
QAT_HW ALGORITHMS :
QAT_SW ALGORITHMS : -DQAT_SW -DENABLE_QAT_SW_RSA -DENABLE_QAT_SW_ECDSA -DENABLE_QAT_SW_ECDH -DENABLE_QAT_SW_ECX -DENABLE_QAT_SW_SM2
ADDITIONAL FLAGS : -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED
FWIW, I'm not able to re-produce with my Dockerfile
when I change to
diff --git a/demo/openssl-qat-engine/Dockerfile b/demo/openssl-qat-engine/Dockerfile
index 8e41bd73..216fea7a 100644
--- a/demo/openssl-qat-engine/Dockerfile
+++ b/demo/openssl-qat-engine/Dockerfile
@@ -1,4 +1,4 @@
-FROM ubuntu:22.04 as builder
+FROM debian:unstable as builder
ARG QATLIB_VERSION="23.08.0"
ARG QAT_ENGINE_VERSION="v1.4.0"
@@ -68,7 +68,7 @@ RUN cd /asynch_mode_nginx && \
--with-ld-opt="-L/src" && \
make && make install
-FROM ubuntu:22.04
+FROM debian:unstable-slim
COPY --from=builder /usr/bin/*_sample* /usr/bin/
COPY --from=builder /usr/lib/libqat.so.4.0.0 /usr/lib/
maybe this Dockerfile
can give you tips.
Hi,
I'm trying to get QAT engine 1.4 packaged for Debian Sid (aka Unstable) and I'm hitting an issue with missing headers, these are included using:
#include "crypto_mb/sm3.h"
..the build is as follows. I didn't have this issue with version 1.2
Any ideas on how to resolve this?