lua-users home
lua-l archive

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


On Wed, 30 Jun 2010 18:17:18 +0200
Enrico Tassi <gareuselesinge@libero.it> wrote:

> > lua: curl1.lua:2: module 'curl' not found:
> >   no field package.preload['curl']
> >   no file './curl.lua'
> >   no file '/usr/local/share/lua/5.1/curl.lua'
> >   no file '/usr/local/share/lua/5.1/curl/init.lua'
> >   no file '/usr/local/lib/lua/5.1/curl.lua'
> >   no file '/usr/local/lib/lua/5.1/curl/init.lua'
> >   no file './curl.so'
> >   no file '/usr/local/lib/lua/5.1/curl.so'
> >   no file '/usr/local/lib/lua/5.1/loadall.so'
> > stack traceback:
> >   [C]: in function 'require'
> >   curl1.lua:2: in main chunk
> >   [C]: ?  
> 
> These are not the standard paths used by the lua interpreter 
> shipped in the Debian/Ubuntu package. You are using the wrong lua
> executable or altering the package.*path variable by hand.

`which lua` may be enlightening.

B.