lua-users home
lua-l archive

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


Hi,

It seems that LUA_CPATH=?.so is incorrect.  Why?  Is this documented somewhere?

An example:

$ ls
posix.so
$ export LUA_CPATH=?.so
$ lua -l posix
lua: error loading module 'posix' from file 'posix.so':
        posix.so: cannot open shared object file: No such file or directory
$ export LUA_CPATH=./?.so
$ lua -l posix
Lua 5.1.2  Copyright (C) 1994-2007 Lua.org, PUC-Rio
> print (posix)
table: 0x806f240

Thanks!

-mpb