Hi,
I followed the following manuals:
https://singularo.com/speed-your-development-converting-your-vm-lxd-container
and
got to the step:
go get -v github.com/lxc/lxd/lxd-p2c
run into the error
fatal error: dqlite.h: No such file or directory
installed:
apt install golang-go
apt install lxd-dev
apt install lxd-tools
apt install libacl
sudo add-apt-repository ppa:dqlite/stable
apt install libdqlite-dev
did a
snap refresh lxd --edge
now I get:
gopkg.in/lxc/go-lxc.v2
# pkg-config --cflags -- lxc
Package lxc was not found in the pkg-config search path.
Perhaps you should add the directory containing `lxc.pc'
to the PKG_CONFIG_PATH environment variable
No package 'lxc' found
pkg-config: exit status 1
OS is ubuntu 20.04 VERSION=“20.04.2 LTS (Focal Fossa)”
snap list lxd
Name Version Rev Tracking Publisher Notes
lxd git-538ac3d 19678 latest/edge canonical✓ -
the only remark on that error this is there:
which it just states that lxd.lxc-to-lxd is here and fine.
told me that i should install lxc-devel however there is no snap package for it.
The Task is to convert a KVM Image to and LXD Container which should then migrated to a PROD machine via File with ZFS on it.
thanks for help