Hi Guru, I did the “find” and I see only one of them, under “/usr/bin”.
Best Regards, Paul Greenberg ________________________________ From: Guru Shetty <g...@ovn.org> Sent: Thursday, September 20, 2018 4:30 PM To: martinxu9....@gmail.com Cc: Paul Greenberg; bugs Subject: Re: [ovs-discuss] line 17: /usr/local/share/openvswitch/scripts/ovs-lib: No such file or directory If you have previously installed OVS with a 'make install', it can go in /usr/local. One way to confirm that is by running: find /usr -name ovs-vsctl . If you see 2 of them, that is the cause. On Thu, 20 Sep 2018 at 12:25, Martin Xu <martinxu9....@gmail.com<mailto:martinxu9....@gmail.com>> wrote: I’m going through it now. I’ll let you know if I figured out something. So far I stumbled upon the PIC flag thing, I’m going through your other emails as well. Martin On Thu, Sep 20, 2018 at 11:35 AM Paul Greenberg <green...@outlook.com<mailto:green...@outlook.com>> wrote: Hi Martin, I always use the same process. It described here https://truesdn.blogspot.com/2018/08/how-to-compile-open-virtual-network-ovn.html?m=1 Regards, Paul Best Regards, Paul Greenberg ________________________________ From: Martin Xu <martinxu9....@gmail.com<mailto:martinxu9....@gmail.com>> Sent: Thursday, September 20, 2018 2:19 PM To: Gregory Rose; Ben Pfaff Cc: green...@outlook.com<mailto:green...@outlook.com>; b...@openvswitch.org<mailto:b...@openvswitch.org> Subject: Re: [ovs-discuss] line 17: /usr/local/share/openvswitch/scripts/ovs-lib: No such file or directory I don't think so. At least I didn't directly change anything related to this. Do you guys mind sharing the exact commands you used to build the RPM? I've tried building with the fedora spec file. I don't see it on mine after installation. Sorry I'm replying out of order here, but I agree with Ben's email below. That seems to be the problem. I looked through some of our code. The fedora spec file uses this macro %{_datadir} as the path prefix, and this could evaluate to /usr/share/ but can be overwritten or be something else on a particular system. That line 17 in ovs-kmod-ctl is written as this, . "@pkgdatadir@/scripts/ovs-lib" || exit 1 At build time, the @pkgdatadir@ in some of our files (ovs-kmod-ctl is one of them) are being replaced. I haven't figured out exactly how to put my own string in there through configuration so that my installation goes into /usr/share and this string is replaced by /usr/local/share. I think basically that's problem seen here. Maybe some of the folks from redhat might know. Or if I can duplicate the issue myself, I might be able to figure out why. Martin On Mon, Sep 17, 2018 at 5:23 PM Gregory Rose <gvrose8...@gmail.com<mailto:gvrose8...@gmail.com>> wrote: On 9/14/2018 3:36 PM, Paul Greenberg wrote: > Running the latest: > > https://github.com/openvswitch/ovs/commit/cd2c1d3b1e03b41f0e2c964fcbdb1e82cde7c794 > > An attempt to start "ovs-vswitchd.service" fails: > > ovs-ctl[2078]: /usr/share/openvswitch/scripts/ovs-kmod-ctl: line 17: > /usr/local/share/openvswitch/scripts/ovs-lib: No such file or directory > > The "/usr/local/share/openvswitch/scripts/ovs-lib" does not exists, but > "/usr/share/openvswitch/scripts/ovs-lib" > > Once I amended the line 17 to "/usr/share/openvswitch/scripts/ovs-lib", > things started working. Martin, I'm seeing this as well - do you think it's related to your recent changes? Thanks, - Greg > _______________________________________________ > discuss mailing list > disc...@openvswitch.org<mailto:disc...@openvswitch.org> > https://mail.openvswitch.org/mailman/listinfo/ovs-discuss _______________________________________________ discuss mailing list disc...@openvswitch.org<mailto:disc...@openvswitch.org> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
_______________________________________________ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss