intel / intel/QAT_Engine

rebuild creates a broken engine

Open
#172 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
443
Forks
137
PR merge metrics
No merged PRs in 30d

Description

I'm building QAT engine twice with:

```
RUN cd /QAT_Engine && \
./autogen.sh && \
./configure \
--enable-ipsec_offload \
--enable-multibuff_offload \
--with-multibuff_install_dir=/usr/local \
--with-qat_engine_id=qat-sw && \
make && make install && \
./configure \
--with-qat_dir=/ \
--disable-ipsec_offload \
--disable-multibuff_offload \
--with-qat_install_dir=/usr/lib \
--with-qat_engine_id=qat-hw && \
make && make install
```

This makes `qat-hw` to fail with:
`139655177307456:error:25066067:DSO support routines:dlfcn_load:could not load the shared library:crypto/dso/dso_dlfcn.c:118:filename(/usr/lib64/engines-1.1/qat-hw.so): /usr/lib64/engines-1.1/qat-hw.so: undefined symbol: qat_num_instances`

I could do (i.e., add `make clean`):

```
RUN cd /QAT_Engine && \
./autogen.sh && \
./configure \
--enable-ipsec_offload \
--enable-multibuff_offload \
--with-multibuff_install_dir=/usr/local \
--with-qat_engine_id=qat-sw && \
make clean && \
make && make install && \
./configure \
--with-qat_dir=/ \
--disable-ipsec_offload \
--disable-multibuff_offload \
--with-qat_install_dir=/usr/lib \
--with-qat_engine_id=qat-hw && \
make && make install
```

but that deletes `/usr/lib64/engines-1.1/qat-sw.so` so I loose my first engine.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.