[ovs-discuss] Did anyone manage to build and use ovs with SHARED libraries

Gurucharan Shetty shettyg at nicira.com
Fri Jul 18 02:26:09 UTC 2014


I sent in a change that fixes the problem for my reproduction.

http://openvswitch.org/pipermail/dev/2014-July/042853.html


On Thu, Jul 17, 2014 at 11:01 AM, Gurucharan Shetty <shettyg at nicira.com>
wrote:

>
>
>
> On Thu, Jul 17, 2014 at 12:02 AM, Gur Stavi <gstavi at mrv.com> wrote:
>
>>  Yes,
>>
>> With static libraries I am able to bring up ovs-vswitchd and see it in an
>> OpenDaylight controller.
>>
> I can reproduce the hang. I will spend some time on it.
>
>>
>>
>> Regards,
>>
>> Gur
>>
>>
>>
>>
>>
>> *From:* Gurucharan Shetty [mailto:shettyg at nicira.com]
>> *Sent:* Wednesday, July 16, 2014 17:53
>> *To:* Gur Stavi
>> *Cc:* discuss at openvswitch.org
>> *Subject:* Re: [ovs-discuss] Did anyone manage to build and use ovs with
>> SHARED libraries
>>
>>
>>
>>
>>
>>
>>
>> On Tue, Jul 15, 2014 at 10:20 PM, Gur Stavi <gstavi at mrv.com> wrote:
>>
>> Hi,
>>
>>
>>
>> I tried building ovs with shared libraries to reduce the size of the
>> executables. Mainly I would like to generate libopenvswitch.so instead of
>> libopenvswitch.a.
>>
>> I added --enable-shared to the 'configure' command and also tried some
>> other approaches.
>>
>> The 'make' was successful.
>>
>> ovsdb-server started.
>>
>> But every time I tried to launch ovs-vswitchd or ovs-vsctl they hanged.
>>
>> Did it actually work before you enabled shared libraries? A "hang" can
>> happen with ovs-vswitchd without '--detach'. A "hang" can happen with
>> ovs-vsctl if ovs-vswitchd is not running.
>>
>>
>>
>>
>>
>> Any idea why?
>>
>>
>>
>> Thanks,
>>
>> Gur
>>
>>
>>
>> [image: Image removed by sender. E-Banner]
>> <http://www.mrv.com/products/optidriver>
>>
>>
>> The contents of this message, together with any attachments, are intended
>> only for the use of the person(s) to whom they are addressed and may
>> contain confidential and/or privileged information. If you are not the
>> intended recipient, immediately advise the sender, delete this message and
>> any attachments and note that any distribution, or copying of this message,
>> or any attachment, is prohibited.
>>
>>
>> _______________________________________________
>> discuss mailing list
>> discuss at openvswitch.org
>> http://openvswitch.org/mailman/listinfo/discuss
>>
>>
>>   [image: E-Banner] <http://www.mrv.com/products/optidriver>
>>
>>
>> The contents of this message, together with any attachments, are intended
>> only for the use of the person(s) to whom they are addressed and may
>> contain confidential and/or privileged information. If you are not the
>> intended recipient, immediately advise the sender, delete this message and
>> any attachments and note that any distribution, or copying of this message,
>> or any attachment, is prohibited.
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20140717/d08885b7/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ~WRD000.jpg
Type: image/jpeg
Size: 823 bytes
Desc: not available
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20140717/d08885b7/attachment-0002.jpg>


More information about the discuss mailing list