[sheepdog] [PATCH]] fix compilation on ubuntu by adding lib coroipcc to LDADD

Thomas Merkel tm at core.io
Tue Aug 14 10:43:48 CEST 2012


Am 14.08.2012 um 10:37 schrieb Liu Yuan <namei.unix at gmail.com>:

> On 08/14/2012 04:34 PM, Liu Yuan wrote:
>> On 08/14/2012 03:05 PM, Thomas Merkel wrote:
>>> -->8--
>>> /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib/libcfg.a(cfg.o): In function `corosync_cfg_crypto_set':
>>> (.text+0x2c6d): undefined reference to `coroipcc_msg_send_reply_receive'
>>> --8<--
>> 
>> I think this is the problem of corosync package of Ubuntu precise.
>> Sheepdog itself only calls functions from libcorosync. Old ubuntu and
>> debian work well with sheepdog compilation.
>> 
> 
> I have searched corosync package in Precies:
> 
> http://packages.ubuntu.com/search?keywords=corosync&searchon=names&suite=precise&section=all
> 
> There is only one item named 'corosync', so I guess later corosync has
> some dependency on libcoroipc?

Yep you are right, corosync and libcorosync has some dependencies for libcoroipc:
 http://packages.ubuntu.com/precise/corosync
 http://packages.ubuntu.com/precise/libcorosync4
 http://packages.ubuntu.com/precise/libcorosync-dev

I will see if i could find some time to check the corosync / libcorosync dependencies
on Ubuntu.

Best regards,
Thomas


More information about the sheepdog mailing list