lua-users home
lua-l archive

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


I think you need to rename your "so" object so that the symbol "T _luaopen_luasql_sqlite3" can be used to open the library. Something like this:

.../lib/luasql/sqlite3.so

In "..."
$ lua
> require 'luasql.sqlite3'

Since the "open" function is _luaopen_luasql_sqlite3, this is the method for the string above.

Gaspard

On Fri, Apr 15, 2011 at 8:48 PM, Gilles Ganault <gilles.ganault@free.fr> wrote:
On Fri, 15 Apr 2011 20:23:25 +0200, Gilles Ganault
>Here goes (nm sqlite3.so is 42KB, so I only showed the beginning)

The 42KB was by calling "nm" without any option, while "nm -gC" is
much smaller:

www.pastebin.com/ajcJZiDu

I see a lot of lines with "U" :-/