I can successfully install luasocket ( https://github.com/diegonehab/luasocket ) via luarocks, but I am having an issue with it working within a certain environment ( https://dev.etlegacy.com/boards/2/topics/3388?r=3401 ).
As far as I can tell, there's some sort of architecture mismatch. I'm assuming this is because luarocks installs 64 bit modules on my OSX by default?
Is there a way to build luasocket specifically as 32 bit?
Thanks for the help. Here's the specific error output:
Lua API: G_LuaStartVM error running lua script: error loading module 'socket.core' from file 'lualibs/lib/lua/5.3/socket/core.so': dlopen(lualibs/lib/lua/5.3/socket/core.so, 6): no suitable image found. Did find: lualibs/lib/lua/5.3/socket/core.so: mach-o, but wrong architecture /Applications/ET Legacy/lualibs/lib/lua/5.3/socket/core.so: mach-o, but wrong architecture
我不确定如何配置luarocks来做到这一点,但是我将luasocket编译为ZeroBrane Studio存储库中的Lua 5.1、5.2和5.3的通用二进制文件(如clibsXX/socket/core.dylib
文件)。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.