[lxc-devel] No libcap.a on Fedora and derived distros

Stéphane Graber stgraber at ubuntu.com
Mon Jun 9 18:14:31 UTC 2014


On Mon, Jun 09, 2014 at 02:10:36PM -0400, Dwight Engen wrote:
> Hi,
> 
> I ran into a bit of a problem building master:
> Fedora (and derived distro's such as CentOs, Oracle, RHEL) don't ship
> with a static lib for libcap, which is needed to build init.lxc.static
> (commit 2d4b3e3d). Apparently [1] Fedora doesn't intend to ship one, thus
> there isn't a libcap-static. Any ideas of how we want to proceed here?
> I guess we can just not build it and it won't be available on these
> distros?

So I got into a similar problem with the Android port initially though
there I just changed the build process to retain the .a, therefore
fixing the issue.

But while debugging that, I think Serge told me that he doesn't really
see why libcap is even required for the static init as it doesn't
actually do any capability operation itself.

So maybe the right answer is to fix the code to no longer need that
dependency on libcap.a.

> 
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=248813
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20140609/b823f187/attachment.sig>


More information about the lxc-devel mailing list