[AMD Official Use Only - AMD Internal Distribution Only] Thanks David,
"sudo apt install libsystemd-dev" solved the problem. Regards, Charlie Li -----Original Message----- From: David Marchand <david.march...@redhat.com> Sent: Tuesday, August 19, 2025 2:28 AM To: Li, Charlie <charlie...@amd.com> Cc: ovs-discuss@openvswitch.org Subject: Re: [ovs-discuss] OVS: configure: error: Failed to link with DPDK, Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding. Hello, On Mon, Aug 18, 2025 at 5:43 PM Li, Charlie <charlie...@amd.com> wrote: > Thanks, David, for your response. > I asked about how you compiled/installed this version of dpdk on a Ubuntu 24.04.2. Looking at the config.log, it seems it was manually compiled as I can see -Wl,--whole-archive -L/usr/local/lib/x86_64-linux-gnu -l:librte_common_cpt.a. Anyway... > I don't have enough knowledge to analyze the config.log myself. I am > attaching the log file here. In this file, you can see: configure:25353: checking whether linking with dpdk works configure:25369: gcc -o conftest -Ofast -msse4.2 -mpopcnt -I/usr/local/include -include rte_config.h -march=native -mrtm -I/usr/include/libnl3 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0 [snip] -lipathverbs-rdmav34 -lrxe-rdmav34 -lsiw-rdmav34 -libverbs -lpthread -lnl-3 -lpthread -lmlx4 -libverbs -lbnxt_re-rdmav34 -lcxgb4-rdmav34 -lefa -lerdma-rdmav34 -lhns-rdmav34 -lirdma-rdmav34 -lmana -lmlx4 -lmlx5 -lmthca-rdmav34 -locrdma-rdmav34 -lqedr-rdmav34 -lvmw_pvrdma-rdmav34 -lhfi1verbs-rdmav34 -lipathverbs-rdmav34 -lrxe-rdmav34 -lsiw-rdmav34 -lpthread -lnl-3 -lpthread -lpcap -ldbus-1 -lsystemd -libverbs -lbnxt_re-rdmav34 -lcxgb4-rdmav34 -lefa -lerdma-rdmav34 -lhns-rdmav34 -lirdma-rdmav34 -lmana -lmlx4 -lmlx5 -lmthca-rdmav34 -locrdma-rdmav34 -lqedr-rdmav34 -lvmw_pvrdma-rdmav34 -lhfi1verbs-rdmav34 -lipathverbs-rdmav34 -lrxe-rdmav34 -lsiw-rdmav34 -libverbs -lpthread -lnl-route-3 -lnl-3 -lpthread -lelf -lz -lzstd -pthread -libverbs -lmlx4 -libverbs -lmlx5 -lpcap -lnuma -lnuma -latomic -lm >&5 /usr/bin/ld: cannot find -lsystemd: No such file or directory collect2: error: ld returned 1 exit status I *guess* this is a requirement coming from rdma-core dependencies. So it seems the libsystemd dev package is needed. -- David Marchand _______________________________________________ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss