系统明明有socket.lua,但就是不行,怎么办呢?
有2个办法
其中一个办法是在lua里面设置:
另外一个办法是在系统里面设置:
参考资料:
- https://www.gammon.com.au/scripts/doc.php?lua=package.cpath
- https://stackoverflow.com/questions/26446333/how-to-set-the-lua-path-and-lua-cpath-for-the-zerobrane-studio-in-linux