[ovs-dev] ovsdb-tool: error while loading shared libraries: librte_eal.so.6.1

Ben Pfaff blp at ovn.org
Wed May 9 19:37:03 UTC 2018


You didn't install DPDK in a place where the system can find it.  One
way to fix the problem is to set LD_LIBRARY_PATH appropriate (see
ld.so(8)).

On Thu, May 10, 2018 at 03:33:48AM +0800, Mingming Chen wrote:
> Hi Ben,
> 
> 
> Thanks for your hint about ovs dpdk!. I have done something according to: https://docs.openvswitch.org/en/latest/intro/install/dpdk/ and https://docs.openvswitch.org/en/latest/intro/install/general/#general-building. But now I met a problem. (I think I have done with dpdk part because no errors showed)
> About the ovs part, I did
> $ ./configure --with-dpdk=/usr/src/dpdk-stable-17.11.1/x86_64-native-linuxapp-gcc
> $ make
> $ make install
> $ export PATH=$PATH:/usr/local/share/openvswitch/scripts
> $ ovs-ctl start 
> (Here I met a problem) like:
> ovsdb-tool: error while loading shared libraries: librte_eal.so.6.1: cannot open shared object file: No such file or directory
>  * /usr/local/etc/openvswitch/conf.db does not exist
> ovsdb-tool: error while loading shared libraries: librte_eal.so.6.1: cannot open shared object file: No such file or directory
>  * Creating empty database /usr/local/etc/openvswitch/conf.db
> 
> 
> I have searched but didn't find a good one. Could you help me to figure out where I am wrong? I am using Ubuntu 16.04.4, ovs 2.9.0, dpdk 17.11.1. Thank you!
> 
> 
> 
> 
> Best regards,
> Mingming
> 
> At 2018-05-09 03:51:02, "Ben Pfaff" <blp at ovn.org> wrote:
> >OVS has two main datapaths: kernel-based and userspace-based.  If you
> >use the default setup, you're using the kernel-based datapath.  The
> >documentation explains how to use the userspace datapath instead.
> >
> >On Tue, May 08, 2018 at 11:59:15PM +0800, Mingming Chen wrote:
> >> Thank you so much! I have updated ovs 2.5.4 to ovs 2.9.0. Unfortunately, a new problem just like this link(OFPMMFC_INVALID_METER): https://mail.openvswitch.org/pipermail/ovs-discuss/2017-October/045513.html
> >> I also searched and found this: https://groups.google.com/a/onosproject.org/forum/#!topic/onos-discuss/OaA66m3dYds . But I still don't know exactly how to do so I can push a meter in ovs. Could you guide me more? What does it mean by "support meters in the userspace(DPDK) datapath only"? Thanks again!
> >> 
> >> 
> >> Best regards,
> >> Mingming
> >> 
> >> 
> >> At 2018-05-08 23:09:15, "Ben Pfaff" <blp at ovn.org> wrote:
> >> >On Tue, May 08, 2018 at 07:27:41AM +0800, Mingming Chen wrote:
> >> >> According to my prior experience, ovs 2.5.0 doesn't support meter
> >> >> table. Now I am using ovs 2.5.4, and I want to test meter table. So,
> >> >> does ovs 2.5.4 supports openflow 1.3 meter table? If not, is there any
> >> >> version of ovs could support meter table? Thanks a lot!
> >> >
> >> >OVS 2.7 and later support meters in the userspace (DPDK) datapath only.


More information about the dev mailing list