[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: luasql undefined symbol: luaopen_mysql
- From: Javier Guerra <javier@...>
- Date: Sun, 7 May 2006 21:51:54 -0500
On Sunday 07 May 2006 9:08 pm, Steve Kieu wrote:
> the current dir has a file mysql.so which is the renamed of the so file
> produced above.
don't rename the .so file; the require('xx') function call does a
loadlib('xx.so','luaopen_xx'). that means that to open the library, Lua has
to call a function with a name based on the library name.
--
Javier
Attachment:
pgpipYGTaUB2U.pgp
Description: PGP signature