lua-users home
lua-l archive

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


On Tue, 25 Jan 2011 23:54:07 +0100, Gilles Ganault
<gilles.ganault@free.fr> wrote:
>Does Lua look into sub-directories, or must it be told of every
>sub-directory where scripts and shared libraries might be found?

I added the directory where sqlite3.so lives, to no avail:

var/tmp> set
LUA_CPATH=/usr/local/lib/lua/5.1.4/?.so;?.so;/usr/local/lib/lua/5.1.4/luasql/?.so
LUA_PATH=/usr/local/share/lua/5.1.4/?.lua;?.lua

/var/tmp> ./lua -l luasql.sqlite3
./lua: can't resolve symbol '_luaL_ref'