[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: LUA_CPATH=?.so versus LUA_CPATH=./?.so
- From: mpb <mpb.mail@...>
- Date: Sat, 20 Oct 2007 23:57:27 -0700
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