cat /etc/redhat-release CentOS Linux release 7.8.2003 (Core)
pkg-config --version 0.27.1 pkg-config --static --libs libdpdk Package libdpdk was not found in the pkg-config search path. Perhaps you should add the directory containing `libdpdk.pc' to the PKG_CONFIG_PATH environment variable No package 'libdpdk' found locate libdpdk.pc /home/user/dpdk-20.11/build/meson-private/libdpdk.pc /usr/local/lib64/pkgconfig/libdpdk.pc Thanks On Tue, 19 Jan 2021 at 16:12, Bruce Richardson <bruce.richard...@intel.com> wrote: > On Tue, Jan 19, 2021 at 10:40:10AM +0000, Bruce Richardson wrote: > > On Tue, Jan 19, 2021 at 03:36:18PM +0530, Truring Team wrote: > > > Hi Team, > > > > > > I am facing one issue with dpdk 20.11 Release, compiled the l2fwd app > with > > > make static , its throwing following error while running the app: > > > > > > Problematic Use Case: > > > cd dpdk-20.11/examples/l2fwd > > > export PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig > > > *make static * > > > ./build/l2fwd -l 0-3 -n 4 -- -q 1 -p 1 > > > EAL: Detected 6 lcore(s) > > > EAL: Detected 1 NUMA nodes > > > EAL: Multi-process socket /var/run/dpdk/rte/mp_socket > > > EAL: Selected IOVA mode 'PA' > > > EAL: No available hugepages reported in hugepages-1048576kB > > > EAL: Probing VFIO support... > > > EAL: No legacy callbacks, legacy socket not created > > > MAC updating enabled > > > > > > *EAL: Error - exiting with code: 1 Cause: No Ethernet ports - bye* > > > > > <snip> > > > Can someone help me to figure out the root cause why this happening. > > > > > > > It seems like the static libs for the drivers are not linked in for the > > "make static" case. Can you please check the following: > > > > * What OS/distro are you using, and what is the pkg-config version? The > > version of pkg-config included in RHEL/Centos is known to have some > > issues in linking DPDK. > Missed clarification - RHEL/Centos *7* only. RHEL 8 is fine. > > > * What is the output when you run "pkg-config --static --libs libdpdk" >