GithubHelp home page GithubHelp logo

Lzmq not found by Lua about lzmq HOT 6 OPEN

zeromq avatar zeromq commented on June 4, 2024
Lzmq not found by Lua

from lzmq.

Comments (6)

robotcreator avatar robotcreator commented on June 4, 2024

Seems like I could resolve the issue by switching Lua to version 5.3.6.
I guess it is a compatibility issue with the newest Lua version (5.4.2), and some functions/symbols were removed from Lua.
This should explain the error message discussed above.

from lzmq.

moteus avatar moteus commented on June 4, 2024

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.

from lzmq.

robotcreator avatar robotcreator commented on June 4, 2024

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...

from lzmq.

moteus avatar moteus commented on June 4, 2024

I think I installed it via luarocks and moved the .so files manually to

This should not work for any Lua module written on C (or ny other compiled language)
Lua module have to build against correct Lua version.
If you whant to try lzm wit the Lua5.4 you can download rockspec file an updete version in there. There high chance that it works. Ofcourse you have to have LuaRocks configured for Lua 5.4

from lzmq.

robotcreator avatar robotcreator commented on June 4, 2024

Okay, thank your for your assistance so far. I'm happy at the moment, maybe I will try it with 5.4 later again.

from lzmq.

lemonci avatar lemonci commented on June 4, 2024

apt-get install libzmq3

from lzmq.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.