[Pkg-xen-devel] Fwd: Re: xen-qemu-dm does not build with backported xen-4.1

Ian Campbell ijc at hellion.org.uk
Thu Apr 28 14:01:07 UTC 2011


On Thu, 2011-04-28 at 21:52 +0800, Thomas Goirand wrote:
> On 04/28/2011 12:43 AM, Ian Campbell wrote:
> > Looks like you are statically linking (e.g. the above refers
> > to /usr/lib/libxenctrl.a and not libxenctrl.so). You should be
> > dynamically linking (for various reasons, including Debian policy) in
> > which case this problem should go away. I don't know why it is trying to
> > statically link though, perhaps libxenctrl.so is missing somehow?
> > 
> > If you really want to statically link you will need to add all the
> > appropriate libraries to the link line, in this case "-ldl", but there
> > will likely be many more.
> > 
> > Ian.
> 
> Sorry, but I don't get why it's not trying to dynamically link by
> default. What should I do so it does? I do have
> /usr/lib/xen-4.1/lib/libxenctrl.so in my system.

But probably not in your linker path, unless you added it. The use of
this path (rather than /usr/lib) for this library is Debian specific.

> 
> By the way, is there a reason why libxenctrl.so is in xen-utils-4.1
> rather than in libxenstore3.0?

libxenctrl is a different library to libxenstore.

> >> My hack is here:
> >> http://ftparchive.gplhost.com/xen-qemu-dm-4.1/
> 
> I'd appreciate a patch to the above. I have not much time to spare, as I
> currently work on Openstack and many other things (libdbi, etc.).

I don't have time for this either I'm afraid.

Ian.

-- 
Ian Campbell

I am currently transitioning to a new OpenPGP key, please see:
http://www.hellion.org.uk/key-transition-2011-04-27-2F6BCD59-to-79074FA8.txt

Do not write below this line.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20110428/e4e212fe/attachment.pgp>


More information about the Pkg-xen-devel mailing list