From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shankari Vaidyalingam Subject: Error seen while running testpmd sample application Date: Mon, 9 Feb 2015 22:40:02 +0530 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 To: dev-VfR2kkLFssw@public.gmane.org Return-path: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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@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@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@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