[lxc-devel] lxc on openSUSE: lxc-top not working due to lua?

Natanael Copa ncopa at alpinelinux.org
Sat May 17 17:15:21 UTC 2014


On Sat, 17 May 2014 09:44:28 -0400
"Michael H. Warfield" <mhw at WittsEnd.com> wrote:

> Hey,
> 
> On Sat, 2014-05-17 at 15:24 +0200, Johannes Kastl wrote:
> > Hi everyone,
> > 
> > something is wrong with lxc-top on openSUSE:
> > 
> > First, I got this:
> > 
> > > LANG=POSIX lxc-top /usr/bin/env: lua: No such file or directory
> > 
> > Then I installed lua (via sudo zypper in lua) and asked the packager
> > to add a dependency to lua to the package, and now I get
> > 
> > > $ LANG=POSIX lxc-top lua: /usr/bin/lxc-top:24: module 'lxc' not
> > > found: no field package.preload['lxc'] no file
> > > '/usr/share/lua/5.2/lxc.lua' no file
> > > '/usr/share/lua/5.2/lxc/init.lua' no file
> > > '/usr/lib64/lua/5.2/lxc.lua' no file
> > > '/usr/lib64/lua/5.2/lxc/init.lua' no file './lxc.lua' no file
> > > '/usr/lib64/lua/5.2/lxc.so' no file
> > > '/usr/lib64/lua/5.2/loadall.so' no file './lxc.so' stack
> > > traceback: [C]: in function 'require' /usr/bin/lxc-top:24: in main
> > > chunk [C]: in ?

Could you please check what version of lua you have installed?

lua -v

If it shows 5.1, then you'll have to either install and use lua 5.2 or
build lxc with lua 5.1.

-nc


More information about the lxc-devel mailing list