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.
在进行OVS-DPDK编译的时候遇到了以上报错
首先根据提示查询是否pkg-config找不到libdpdk.pc
pkg-config --modversion libdpdk
22.11.1
这里看起来dpdk编译后是正常的,那就根据提示检查config.log, 发现ld报错
cannot find -libverbs
查了下机器上是有个libibverbs.so.1, 建了个软连接到libibverbs.so
ln -s libibverbs.so.1 libibverbs.so
再次配置成功通过