lua-users home
lua-l archive

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


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