Skip to contentSkip to conversation

doc/rel_notes: add note on libarchive dependencies

PATCH Applied Bruce Richardson 2 participants 2 messages Nov 9, 2023 – Nov 24, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc/rel_notes: add note on libarchive dependencies

Since DPDK now registers an explicit dependency on libarchive, rather than just putting -larchive in link args, we need to add a documentation note about potential missing dependencies when static linking.

---
 doc/guides/rel_notes/release_23_11.rst | 10 ++++++++++
 1 file changed, 10 insertions(+)
doc/guides/rel_notes/release_23_11.rst +10 -0
index ff28083e1c..0b33665868 100644
@@ -75,6 +75,16 @@ New Features
     which also added support for standard atomics
     (Ref: https://releases.llvm.org/3.6.0/tools/clang/docs/ReleaseNotes.html)
 
+* **Extra dependencies when linking against libarchive**
+
+  When the libarchive development package is present on the system,
+  DPDK will use libarchive and register a dependency on it.
+  However, on a number of Linux distributions, including, for example, Fedora and Ubuntu,
+  installing the libarchive dev package does not cause all required dependencies for static linking to be automatically installed too.
+  These additional dev packages, such as ``liblz4-dev`` and ``libacl1-dev`` on Ubuntu,
+  will need to be installed manually (if not already present)
+  to prevent errors with linking against DPDK static libraries.
+
 * **Added new build options.**
 
   * Enabling deprecated libraries is now done using
Signature · 1 line
2.39.2