[lxc-users] lxc build failure

Stéphane Graber stgraber at ubuntu.com
Mon Aug 13 02:53:14 UTC 2018


On Sun, Aug 12, 2018 at 07:46:40PM +0200, Pierre Couderc wrote:
> 
> On 08/12/2018 07:33 PM, Pierre Couderc wrote:
> > 
> > 
> > On 08/12/2018 05:07 PM, Stéphane Graber wrote:
> > > .
> > > 
> > Thank  you Stéphane, it builds on Debian 9.5, Now, I shall install it !
> But it fails to start with :
> nous at couderc:~/go/src/github.com/lxc/lxd$ sudo -E $GOPATH/bin/lxd --group
> sudo
> /home/nous/go/bin/lxd: error while loading shared libraries: libdqlite.so.0:
> cannot open shared object file: No such file or directory

The way you invoked sudo will strip your LD_LIBRARY_PATH causing that error.
You can instead run "sudo -E -s" and then run "lxd --group sudo" and it
should then start fine.

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20180812/969f1bbe/attachment.sig>


More information about the lxc-users mailing list