lua-users home
lua-l archive

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


On Wed, Nov 4, 2015 at 2:48 PM, Rangel Siqueira
<rangelsiqueira@gmail.com> wrote:
> Hello friends. My application in C ++ where I carry my scripts moon is
> advancing well, but I found a problem. I'm using Debian and it installed the
> moon and luasocket using luasocket with the moon interpreter that comes at
> the moon package works perfectly, but I could not load the luasocket
> libraries in my application c ++, so when I carry my moon scripts in C ++
> and in them contains luasocket does not. Could anyone help me? I thank the
> attention.

Hello!

What is "moon"? Do you mean Lua or moonscript [1]?

There are two possible reasons of the error.

1. Lua version/installation mismatch.
2. Missing paths in LUA_CPATH,

What is the error message produced when you try to require luasocket?
What is the value of LUA_CPATH and LUA_PATH environment variables?

[1] http://moonscript.org/


-- 


Best regards,
Boris Nagaev