[PATCH dpdk 0/2] Fix dynamic link of driver symbols with pkgconf

Robin Jarry rjarry at redhat.com
Thu Oct 15 12:09:22 CEST 2026


When building against dynamic libraries using pkg-config, linking fails
because symbols exposed by drivers are not found:

	/usr/bin/x86_64-linux-gnu-ld.bfd: ....o:(.data.rel.ro+0x148):
		undefined reference to `rte_pci_dump'

That symbol is in librte_bus_pci.so which is *not* listed in the libs
section of the pkg-config file.

This series is about fixing this.

Robin Jarry (2):
  meson: rename static drivers list
  meson: add drivers to dynamic libraries

 app/meson.build                   | 2 +-
 buildtools/pkg-config/meson.build | 2 +-
 buildtools/subproject/meson.build | 2 +-
 drivers/meson.build               | 5 ++++-
 examples/meson.build              | 2 +-
 meson.build                       | 2 +-
 6 files changed, 9 insertions(+), 6 deletions(-)

-- 
2.56.0



More information about the dev mailing list