[dpdk-dev] librte_distributor.so: cannot open shared object file

Neil Horman nhorman at tuxdriver.com
Thu Dec 18 22:35:42 CET 2014


On Thu, Dec 18, 2014 at 04:50:51PM +0100, sothy shan wrote:
> Hi!
> 
> I am in fedora 21. I build sucesfully. I set the LD_LIBRARY_PATH.
> When I run the testpmd file, I am getting above error. Thank for your help.
> 
> [cubiq at localhost dpdk-1.7.1]$ echo $LD_LIBRARY_PATH
> /home/cubiq/dpdk-1.7.1/x86_64-ivshmem-linuxapp-gcc/lib
> [cubiq at localhost dpdk-1.7.1]$ sudo ./x86_64-ivshmem-linuxapp-gcc/app/testpmd
> [sudo] password for cubiq:
> ./x86_64-ivshmem-linuxapp-gcc/app/testpmd: error while loading shared
> libraries: librte_distributor.so: cannot open shared object file: No such
> file or directory
> [cubiq at localhost dpdk-1.7.1]$
> 
> 
> Best regards
> Sothy
> 

did you build the distributor library with your config?  If you set
LD_LIBRARY_PATH to /home/cubiq/dpdk-1.7.1/x86_64-ivshmem-linuxapp-gcc/lib, then
this command:
ls /home/cubiq/dpdk-1.7.1/x86_64-ivshmem-linuxapp-gcc/lib/librte_distributor.so
should exist, and I'm guessing it doesn't 

Also, dpdk is built for fedora 21 currently, you can just install it (though it
doesn't contain the distributor library yet I don't think)

Neil



More information about the dev mailing list