[dpdk-dev] Error seen while running testpmd sample application

Shankari Vaidyalingam shankari.v2k6 at gmail.com
Mon Feb 9 18:10:02 CET 2015


Hi,

I'm trying to execute the testpmd sample appplication.
I'm getting the below error and not able to execute the sample application.

controller at controller-VirtualBox:~/software/dpdk-1.7.1$ sudo
./build/app/testpmd -c7 -n3 -- -i --nb-cores=2 --nb-ports=2
./build/app/testpmd: error while loading shared libraries:
librte_distributor.so: cannot open shared object file: No such file or
directory
controller at controller-VirtualBox:~/software/dpdk-1.7.1$ find . -name
librte_distributor.so -print
./build/build/lib/librte_distributor/librte_distributor.so
./build/lib/librte_distributor.so
./x86_64-native-linuxapp-gcc/build/lib/librte_distributor/librte_distributor.so
./x86_64-native-linuxapp-gcc/lib/librte_distributor.so
controller at controller-VirtualBox:~/software/dpdk-1.7.1$

I'm using Ubuntu 12.04 LTS version and DPDK 1.7.1 version.
I already went through the mailing list to see whether anyone is facing
similar issues. I was able to find 3 discussions but not able to find the
solution in them.

I used the below step to compile and execute the application:

  sudo ./tools/dpdk_nic_bind.py --status
  mkdir -p /mnt/huge
  sudo mount -t hugetlbfs nodev /mnt/huge
  sudo echo 64 >
/sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hugepages
  ls
  sudo ./build/app/testpmd -c7 -n3 -- -i --nb-cores=2 --nb-ports=2



Please let me know how to solve this issue.

Regards
Shankari.V


More information about the dev mailing list