Hello,

On Fri, Aug 8, 2025 at 7:51 PM Li, Charlie via discuss
<ovs-discuss@openvswitch.org> wrote:
>
> [AMD Official Use Only - AMD Internal Distribution Only]

This banner is not compatible with a public mailing list.

>
> Hello,
>
> I am trying to build the latest OVS on Ubuntu 24.04.2 LTS (kernel 
> 6.14.0-24-generic and pkg-config 1.8.1) following the link below. 
> “./configure” fails.
>
>
>
> https://docs.openvswitch.org/en/latest/intro/install/dpdk/
>
>
>
> $ pkg-config --modversion libdpdk
>
> 24.11.2

Strange.
Looking at https://launchpad.net/ubuntu/+source/dpdk, I understand
that Ubuntu 24.04.2 does not provide DPDK 24.11.
How did you install this version?


>
>
>
> $ ./configure --with-dpdk=static CFLAGS="-Ofast -msse4.2 -mpopcnt"
>
> …
> checking whether linking with dpdk works... no
>
> configure: error: Failed to link with DPDK, check the config.log for more 
> details. If a working DPDK library was not found in the default search path, 
> update PKG_CONFIG_PATH for pkg-config to find the .pc file in a non-standard 
> location.

The config.log will provide more info.

PKG_CONFIG_PATH may be incorrect (but it does not seem the case, as
you provided output of pkg-config above).
Seeing how static linking is requested, there may be something missing
wrt package dependencies (the first thing that comes to mind is
libarchive static deps).
Something else.. ?


-- 
David Marchand

_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to