Closed kwanhur closed 2 years ago
That'd be an issue with your distribution, if they don't ship the .a/.la files needed for static compilation, then downstream users like go-lxc can't find them.
Not that I'd actually ever recommend statically building liblxc, it's completely untested and quite scary from a security point of view.
Installed lxc-libs lxc-devel on CentOS7, couldn't find any static link infos with
pkg-config --static lxc
go build errors:
relate versions: