lua-users home
lua-l archive

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

On Wed, Jan 26, 2011 at 02:04, Gilles Ganault <> wrote:
> On Tue, 25 Jan 2011 23:54:07 +0100, Gilles Ganault
> <> wrote:

> I added the directory where 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'

This is not the Lua package system error. Lua found all files it
needs. This is an error on lower level. I'd say that is not
correctly linked.

I see that you posted details on the SO:

Maybe one of the cross-compilation gurus on the list will look into
the makefiles there?