Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Lua Development Tools » mongo_module.so: undefined symbol: lua_checkstack(Lua; mongo; mongorover)
mongo_module.so: undefined symbol: lua_checkstack [message #1730562] Tue, 26 April 2016 16:25 Go to next message
Fidel Rebón is currently offline Fidel RebónFriend
Messages: 2
Registered: April 2016
Junior Member
Hi!

I have a problem with LDT & mongorover (driver of mongo for LUA). I place this line of code:
local MongoClient = require("mongorover.MongoClient")

and throw me this Exception:

Exception in thread "main" com.naef.jnlua.LuaRuntimeException: error loading module 'mongo_module' from file '/usr/local/lib/lua/5.2/mongo_module.so':
/usr/local/lib/lua/5.2/mongo_module.so: undefined symbol: lua_checkstack
at com.naef.jnlua.LuaState.lua_pcall(Native Method)
at com.naef.jnlua.LuaState.call(LuaState.java:585)
at org.eclipse.ldt.support.lua52.internal.interpreter.JNLua52Launcher.run(JNLua52Launcher.java:128)
at org.eclipse.ldt.support.lua52.internal.interpreter.JNLua52Launcher.main(JNLua52Launcher.java:148)

I have not this problem by means of line command in LUA. Could you help me?. I do not solve this problem. Thanks!

Kind regards,

Fidel
Re: mongo_module.so: undefined symbol: lua_checkstack [message #1730632 is a reply to message #1730562] Wed, 27 April 2016 08:50 Go to previous messageGo to next message
Simon Bernard is currently offline Simon BernardFriend
Messages: 345
Registered: July 2009
Senior Member
Hi,
I suppose you are using the default interpreter based on JnLua.
This does not works very well with binary libraries.
I advice you to register a new interpreter based on your local lua executable.

https://wiki.eclipse.org/LDT/User_Area/User_Guides/User_Guide_1.3#Managing_Interpreters

HTH,

Simon
Re: mongo_module.so: undefined symbol: lua_checkstack [message #1730649 is a reply to message #1730632] Wed, 27 April 2016 10:52 Go to previous message
Fidel Rebón is currently offline Fidel RebónFriend
Messages: 2
Registered: April 2016
Junior Member
Hi Simon!

At this moment, IDE woks fine for me. Thank!!. I have followed your advise.
1. I create new interpreter: 5.2
2. I assign grammar: 5.2
3. I remove the click based on the environments embedded of Lua

I have tested mongorover on the IDE and I happy!!!. Thanks!!!


Fidel
Previous Topic:Configuring 'Lips of Suna' Lua modules
Next Topic:Possible to install NodeMCU in LDT
Goto Forum:
  


Current Time: Tue Apr 16 07:48:32 GMT 2024

Powered by FUDForum. Page generated in 0.07375 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top