Hi pierlu, Is LUA linked static or shared into your GnuGk ? I think LUA has an issue loading shared libraries when it is itself linked static and not shared into GnuGk. Regards, Jan -- Jan Willamowius, Founder of the GNU Gatekeeper Project EMail : jan@xxxxxxxxxxxxxx Website: https://www.gnugk.org Support: https://www.willamowius.com/gnugk-support.html Relaxed Communications GmbH Frahmredder 91, 22393 Hamburg, Germany Geschäftsführer: Jan Willamowius HRB 125261 (Amtsgericht Hamburg) USt-IdNr: DE286003584 pierlu via gnugk-users wrote: > Hi, > > briefly: I can easily connect to MySql databases with Lua scripts by using > the luasql.mysql module; to use it I simply enter the following line in the > script > > luasql = require("luasql.mysql") > > When I try to incorporate mysql connectivity into Lua scripts used by GnuGk > I get an error which goes like this: > > LUA Error in LUA script: error > loading module 'luasql.mysql' from file '/usr/local/lib/lua/5.2/ > /usr/local/lib/lua/5.2/luasql/mysql.so: undefined symbol: > lua\_settop > > But if I use simple Lua scripts (i.e. without requiring Mysql module) GnuGk > executes them no prob. > > Do you have any ideas on why I am receiving that error in GnuGk? > > I am using GnuGk 5.1 on Ubuntu 18.04.2 with Lua 5.2.4 and LuaSql 2.4.0. > Both Lua and LuaSql where compiled from source. > > Thanks, > pierlu _______________________________________________________ Posting: mailto:gnugk-users@xxxxxxxxxxxxxxx Archive: https://lists.gnugk.org/pipermail/gnugk-users/ Unsubscribe: https://lists.gnugk.org/lists/listinfo/gnugk-users Homepage: https://www.gnugk.org/