after make deps and adding the exports to ~/.bashrc.
the make command anfer displays the bellow error
make
CC=“cc” CGO_LDFLAGS_ALLOW="(-Wl,-wrap,pthread_create)|(-Wl,-z,now)" go install -v -tags “libsqlite3” ./…
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
make: *** [Makefile:33: build] Error 2
ALSO an error here too:::
sudo -E PATH=${PATH} LD_LIBRARY_PATH=${LD_LIBRARY_PATH} $(go env GOPATH)/bin/lxd --group sudo
sudo -E PATH=${PATH} LD_LIBRARY_PATH=${LD_LIBRARY_PATH} $(go env GOPATH)/bin/lxd --group sudo
WARNING[2022-07-20T00:48:39+03:00] AppArmor support has been disabled because ‘apparmor_parser’ couldn’t be found
WARNING[2022-07-20T00:48:39+03:00] - AppArmor support has been disabled, Disabled because ‘apparmor_parser’ couldn’t be found
WARNING[2022-07-20T00:48:39+03:00] - Couldn’t find the CGroup blkio, disk I/O limits will be ignored
WARNING[2022-07-20T00:48:39+03:00] - Couldn’t find the CGroup blkio.weight, disk priority will be ignored
WARNING[2022-07-20T00:48:39+03:00] - Couldn’t find the CGroup CPU controller, CPU time limits will be ignored
WARNING[2022-07-20T00:48:39+03:00] - Couldn’t find the CGroup CPUacct controller, CPU accounting will not be available
WARNING[2022-07-20T00:48:39+03:00] - Couldn’t find the CGroup CPU controller, CPU pinning will be ignored
WARNING[2022-07-20T00:48:39+03:00] - Couldn’t find the CGroup hugetlb controller, hugepage limits will be ignored
WARNING[2022-07-20T00:48:39+03:00] - Couldn’t find the CGroup network priority controller, network priority will be ignored
WARNING[2022-07-20T00:48:39+03:00] Instance type not operational driver=qemu err=“vhost_vsock kernel module not loaded” type=virtual-machine
WARNING[2022-07-20T00:48:40+03:00] Firewall failed to detect any compatible driver, falling back to “xtables” (but some features may not work as expected due to: Backend command “iptables” missing)
WARNING[2022-07-20T00:48:40+03:00] Failed to initialize fanotify, falling back on fsnotify err=“Failed to watch directory "/dev": no such device”
lxd init
Would you like to use LXD clustering? (yes/no) [default=no]:
Do you want to configure a new storage pool? (yes/no) [default=yes]:
Name of the new storage pool [default=default]:
Name of the storage backend to use (btrfs, dir) [default=btrfs]:
Create a new BTRFS pool? (yes/no) [default=yes]: no
Name of the existing BTRFS pool or dataset: /media/btrfs/lxd
Would you like to connect to a MAAS server? (yes/no) [default=no]:
Would you like to create a new local network bridge? (yes/no) [default=yes]:
What should the new bridge be called? [default=lxdbr0]:
What IPv4 address should be used? (CIDR subnet notation, “auto” or “none”) [default=auto]:
What IPv6 address should be used? (CIDR subnet notation, “auto” or “none”) [default=auto]:
Would you like the LXD server to be available over the network? (yes/no) [default=no]:
Would you like stale cached images to be updated automatically? (yes/no) [default=yes]:
Would you like a YAML “lxd init” preseed to be printed? (yes/no) [default=no]:
Error: Failed to create storage pool “default”: Failed to run: btrfs subvolume create /media/btrfs/lxd: ERROR: not a btrfs filesystem: /media/btrfs