luaL_ref is a function in libaux. Fire up the command line and see of you
can call it.


On Tue, Jan 25, 2011 at 11:58 AM, Gilles Ganault <gilles.gana...@free.fr>wrote:

> Hello
>
>        Using the same toolchain that was used to build the uClinux image, I
> successfully built the Lua interpreter, SQLite3, and the LuaSQL
> interface to access SQLite3 from a Lua script.
>
> But 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'
> ========
>
> FWIW, Lua can successfully load a basic, test module.
>
> The appliance didn't have the "ldd" utility that would let me check
> that Lua/the module can access all its libraries, so I downloaded
> uClinux-dist-20101026.tar.bz2, and found "./uClibc/utils/ldd.c" which
> I cross-compiled myself and seems to be happy:
>
> /var/tmp> ./ldd /usr/local/lib/lua/5.1.4/luasql/sqlite3.so
>
> ldd: can't open cache '/etc/ld.so.cache'
> checking sub-depends for '/lib/libgcc_s.so.1'
> checking sub-depends for '/lib/libc.so.0'
>        ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x220e460)
>        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00000000)
>        libc.so.0 => /lib/libc.so.0 (0x00000000)
>        /lib/ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x00000000)
>
> My programming skills aren't high enough to know where this error
> comes from. Since all the libraries are available and the applications
> I need were compiled with the same toolchain... I'm lost :-/
>
> Any suggestion about how to investigate this error much appreciated.
>
> Thank you.
>
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev@uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev@uclinux.org
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
>
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to