Lua monitoring script in connection with libraries
Hi,
we want to write a monitoring script for the Repetier-Server. In our script we‘d like to use this socket library (https://github.com/diegonehab/luasocket). We tried to include the library via ‘require‘, but if we restart the Repetier-Server, it shows us the error message ‘ loading module 'socket.core' from file '.\socket\core.so': dynamic libraries not enabled; check your Lua installation‘.
Does anybody had the same problem and found a solution? Or does anybody know how to include libraries into a Lua monitoring script?
The Repetier-Server is running on a Raspi.
we want to write a monitoring script for the Repetier-Server. In our script we‘d like to use this socket library (https://github.com/diegonehab/luasocket). We tried to include the library via ‘require‘, but if we restart the Repetier-Server, it shows us the error message ‘ loading module 'socket.core' from file '.\socket\core.so': dynamic libraries not enabled; check your Lua installation‘.
Does anybody had the same problem and found a solution? Or does anybody know how to include libraries into a Lua monitoring script?
The Repetier-Server is running on a Raspi.
Comments
Also I'm not sure it would have worked. The monitor scripts are called 100 times per second and more meant to monitor e.g. pins on a raspberry.
What problem did you try to solve with the socket?