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 <gilles.ganault@free.fr> wrote:
> On Tue, 25 Jan 2011 23:54:07 +0100, Gilles Ganault
> <gilles.ganault@free.fr> wrote:

> 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'

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 sqlite3.so is not
correctly linked.

I see that you posted details on the SO:

http://stackoverflow.com/questions/4794228/possible-cause-for-cant-resolve-symbol

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

Alexander.