[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Problems with cross-compiled luasql-sqlite3
- From: Gerhard Preuss <gelipp@...>
- Date: Sun, 18 Aug 2013 20:38:30 +0200
On Sat, Aug 17, 2013 at 12:45 AM, Pablo Botelho <pablo.bcb@gmail.com> wrote:
> Hello everyone,
Hi!
I guess libsqlite3 (libsqlite3.so) is not linked to your sqlite Lua
binding (sqlite3.so).
Adding "-lsqlite3" to your makefile should do it.
> I am trying to cross-compile luasql-sqlite3 to run on a arm9
> environment, but when I try to require the module, this is the error msg I
> get:
>
> ./lua: error loading module 'sqlite3' from file './luasql/sqlite3.so':
> Unable to resolve symbol
> stack traceback:
> [C]: ?
> [C]: in function 'require'
> sqlTest.lua:1: in main chunk
> [C]: ?
>
> I was having several linking problems, and was solving them one by one, but
> this time I got no missing symbols output! Has anyone seen anything like
> this?
>
> PS: Ive successfully required and consumed others shared libraries(.so), so
> the dynamic loader is working. If necessary I can paste my makefiles.
>
>
> Thanks in advance!