Comment 34 for bug 2039873

Revision history for this message
Andreas Hasenack (ahasenack) wrote : Re: liblxc-dev was built with LXC_DEVEL=1 in Ubuntu 22.04 and later releases

Food for thought for an SRU, here is an example of an upstream that noted[1] this problem:

****NOTE:**** If you use the `liblxc-dev` package and get compile time errors when building the `go-lxc` module,
ensure that the value for `LXC_DEVEL` is `0` for your `liblxc` build. To check that, look at `/usr/include/lxc/version.h`.
If the `LXC_DEVEL` value is `1`, replace it with `0` to work around the problem. It's a packaging bug, and
we are aware of it for Ubuntu 22.04/22.10. Ubuntu 23.04/23.10 does not have this problem.

1. https://sources.debian.org/src/incus/0.4-1/doc/installing.md/?hl=192#L191