lua-users home
lua-l archive

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


	Sorry for having to ask for help again :-/ When trying to load the
LuaSQL module on the appliance running uClinux-dist, I get the
following error:

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

As the appliance didn't have "ldd", I fetched it from the latest
uClinux-dist and cross-compiled it with the same toolchain:

/var/tmp> ./ldd /usr/local/lib/lua/5.1.4/luasql/

ldd: can't open cache '/etc/'
checking sub-depends for '/lib/'
checking sub-depends for '/lib/' => /lib/ (0x220e460) => /lib/ (0x00000000) => /lib/ (0x00000000)
        /lib/ => /lib/ (0x00000000)

So it looks like LuaSQL has the libraries it needs.

The LuaSQL page says: "All LuaSQL drivers follow the package model for
Lua 5.1 and therefore should be "installed" in your package.path."

I don't know what package.path is. Could it explain the error above?
Do I need to perform an additional action after putting in

Thank you for any help.