Compiling lxd on Linux Mint
by bgoodwin from LinuxQuestions.org on (#5DESB)
In Mint 20 the snap application is discouraged so I decided to try building lxd from source code. I made it through 'make deps' and 'make' following instructions from the https://linuxcontainers.org/ website. Compiling put lxd installed under a '~/go/bin/' subdirectory in my home directory as per instructions. The 'Makefile' did not include a 'make install' option so everything is in that home subd.
The problem is; invoking /home/bob/go/bin/lxd looks for a socket at /var/lib/lxd/unix.socket. Since there was no system install of lxd, there is no socket.
Did I miss something? I have re-read the instructions.
Thanks for any enlightenment you can provide.
Best regards,
Bob G.


The problem is; invoking /home/bob/go/bin/lxd looks for a socket at /var/lib/lxd/unix.socket. Since there was no system install of lxd, there is no socket.
Did I miss something? I have re-read the instructions.
Thanks for any enlightenment you can provide.
Best regards,
Bob G.