lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I'm having trouble getting some third-party lua module(s) to run.  Does
anyone know what would cause the symptoms shown below ($ is bash prompt)?

$ lua -lluasomemodule
lua: error loading module 'luasomemodule' from file
'/install_root/lib/lua/5.1/luasomemodule.so':
      No such file or directory
$
$ lua
Lua 5.1  Copyright (C) 1994-2006 Lua.org, PUC-Rio
> require 'somemodule'
error loading module 'luasomemodule' from file
'/install_root/lib/lua/5.1/luasomemodule.so':
      No such file or directory
stack traceback:
      [C]: ?
      [C]: in function 'require'
      /install_root/share/lua/5.1/somemodule.lua:12: in main chunk
      [C]: in function 'require'
      stdin:1: in main chunk
      [C]: ?

Footnote: luasomemodule.so resides in /install_root/lib/lua/5.1/;
somemodule.lua resides in /install_root/share/lua/5.1/.

Mark F. Morss
Principal Analyst, Market Risk
American Electric Power