lua-users home
lua-l archive

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



----- Original Message ----- From: "Keith Howe" <nezroy@gmail.com>
To: "Lua list" <lua@bazar2.conectiva.com.br>
Sent: Tuesday, January 24, 2006 3:47 PM
Subject: Re: Help a Windows guy in Linux land


>> After compiling both Lua 5.1 (beta) and the luasql module I run the Lua
>> command line and type:
>>
>>> require("odbc")
>> error loading module 'odbc' (/lib/odbc.so: undefined symbol: >> luaL_module)
>>
>> This works fine under Windows.
>  It shouldn't.  LuaSQL is not supposed to run on Lua 5.1.
>  Tomas
>
On 1/24/06, Mark Manyen <mark@woundedbadger.com> wrote:
Update: I got it to work.

OK, so now I'm curious. Did you get it to work by resorting to a Lua
5.0 build, or did you add-in/enable Compat-5.1?

- Keith

-----

Actually, I removed Compat-5.1 from the build of luasql as well as removing the headers from the source code. Then, I changed the startup function name to the 5.1 standard and [ding ding ding!]