Skip to content

Commit 4498412

Browse files
venkatesh6911Yogaraj-Alamenda
authored andcommitted
QAT_SW library INSTALL section update.
Signed-off-by: Venkatesh J <venkatesh.j@intel.com>
1 parent 722edff commit 4498412

File tree

1 file changed

+19
-5
lines changed

1 file changed

+19
-5
lines changed

docs/install.md

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -226,11 +226,25 @@ make install
226226

227227
### Build QAT Engine for QAT_SW
228228

229-
Build steps for crypto_mb and intel_ipsec_mb installed to its default location
230-
`/usr/local/lib` and `/usr/lib` respectively with system OpenSSL.
231-
If Crypto_mb and intel_ipsec_mb is installed using the prefix option then pass
232-
the corresponding paths using the configure flags
233-
`--with-qat_sw_crypto_mb_install_dir` and `--with-qat_sw_ipsec_mb_dir`.
229+
When building the QAT Engine with `crypto_mb` and `intel_ipsec_mb` installed
230+
in their default locations (`/usr/local/lib` for `crypto_mb` and `/usr/lib`
231+
for `intel_ipsec_mb`) and using the system OpenSSL, follow these steps:
232+
233+
- In newer versions of the `crypto_mb` library, the libraries are
234+
installed to `/usr/local/lib/intel64` by default.
235+
- You must manually copy these libraries to `/usr/local/lib`
236+
so that the QAT Engine can link to them correctly during
237+
the build process.
238+
- If you do not copy the libraries, the QAT Engine will fail
239+
to build against the `crypto_mb` library.
240+
241+
If you installed `crypto_mb` and `intel_ipsec_mb` using a custom `prefix`,
242+
provide the corresponding paths using the configure flags:
243+
- `--with-qat_sw_crypto_mb_install_dir`
244+
- `--with-qat_sw_ipsec_mb_dir`
245+
246+
For newer versions of the `crypto_mb` library, also copy the libraries
247+
from `prefix/lib/intel64` to `prefix/lib` to ensure proper linking.
234248

235249
```
236250
cd /QAT_Engine

0 commit comments

Comments
 (0)