News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.


Post Reply  Post Thread 
Pages (2): « First < Previous 1 [2] Last »
Adding a Package
Author Message
Juergen
Member
***


Posts: 81
Group: Registered
Joined: May 2007
Status: Offline
Reputation: 0
Post: #11
RE: Adding a Package

Quote:
error loading module 'mysql' from file './mysql.so':
./mysql.so: undefined symbol: lua_pushnil

Did you link it explicitly against liblua? You can also try to preload the lua library.

But I guess it would be a better idea to use a maintained binding like LuaSQL

Juergen

11-25-2008 09:00 AM
Find all posts by this user Quote this message in a reply
asafp
Member
***


Posts: 81
Group: Registered
Joined: Jan 2008
Status: Offline
Reputation: 0
Post: #12
RE: Adding a Package

mysql.so is part of the luasql package. I got the binary from the precompiled LuaAIO package. It works ok if I use the lua command interpreter that comes with LuaAIO, but doesn't work with 0.6.8 murgaLua.

11-25-2008 09:33 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Juergen
Member
***


Posts: 81
Group: Registered
Joined: May 2007
Status: Offline
Reputation: 0
Post: #13
RE: Adding a Package

Did you copy the lua51.dll (or whatever it is named) from luaAIO into the directory where your luamysql.dll resides?

Juergen

11-25-2008 09:54 AM
Find all posts by this user Quote this message in a reply
asafp
Member
***


Posts: 81
Group: Registered
Joined: Jan 2008
Status: Offline
Reputation: 0
Post: #14
RE: Adding a Package

I ran murgaLua from a directory containing all the LuaAIO .so files including lua.so and liblua5.1.so

When I run murgaLua and require'something'

I get a message like

./mysql.so: undefined symbol: lua_pushnil
./rexlib.so: undefined symbol: lua_getfield
./lxp.so: undefined symbol: lua_newuserdata

11-25-2008 11:22 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Pages (2): « First < Previous 1 [2] Last »
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: