-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lzmq not found by Lua #69
Comments
Seems like I could resolve the issue by switching Lua to version 5.3.6. |
How did you compile lzmq library? I did not test lzmq with Lua 5.4, but I expect it should work. Also, I believe that lua_checkstack stay intact in the Lua 5.4. |
I think I installed it via luarocks and moved the .so files manually to /usr/local/lib/lua/5.3. This is included in my cpath, where Lua 5.3.6 looks for modules. This way it worked for Lua 5.3, but not for 5.4... |
This should not work for any Lua module written on C (or ny other compiled language) |
Okay, thank your for your assistance so far. I'm happy at the moment, maybe I will try it with 5.4 later again. |
|
I have some trouble integrating lzmq into my lua script, which is called by the Lua/C++ API.
I use Lua version 5.4 under Ubuntu 20.04.
This is my Lua Code:
This prints the following error message:
error loading module 'lzmq' from file '/usr/local/lib/lua/5.4/lzmq.so':
/usr/local/lib/lua/5.4/lzmq.so: undefined symbol: lua_checkstack
lzmq is located under /usr/local/lib/lua/5.4/.
I use the following C++ code to load and execute my Lua file:
What can be the reason for this error?
The text was updated successfully, but these errors were encountered: