Hello, I have been having issues with the luasocket module. Installing modules trough luarocks didn't seem to work out for me so I installed needed lua modules via emerge (I am on Gentoo). This has silenced some errors, but I still have issues with luasocket. Does anyone know how to fix this?
2023-05-10 15:39:28: ERROR[Main]: ...lone/worldmods/matrix_chat/lua-matrix/matrix/api.lua:52: Could not load any HTTP client library:
2023-05-10 15:39:28: ERROR[Main]: --- Loading 'luasocket'
2023-05-10 15:39:28: ERROR[Main]: /usr/local/lib/lua/5.1/socket.lua:12: module 'socket.core' not found:
2023-05-10 15:39:28: ERROR[Main]: no field package.preload['socket.core']
2023-05-10 15:39:28: ERROR[Main]: no file '/usr/local/minetest/.minetest/worlds/DrgnzClone/worldmods/matrix_chat/lua-matrix/socket/core.lua'
2023-05-10 15:39:28: ERROR[Main]: no file '/usr/local/minetest/.minetest/worlds/DrgnzClone/worldmods/matrix_chat/neturl/lib/socket/core.lua'
2023-05-10 15:39:28: ERROR[Main]: no file './socket/core.lua'
2023-05-10 15:39:28: ERROR[Main]: no file '/usr/local/share/lua/5.1/socket/core.lua'
2023-05-10 15:39:28: ERROR[Main]: no file '/usr/local/share/lua/5.1/socket/core/init.lua'
2023-05-10 15:39:28: ERROR[Main]: no file '/usr/local/lib/lua/5.1/socket/core.lua'
2023-05-10 15:39:28: ERROR[Main]: no file '/usr/local/lib/lua/5.1/socket/core/init.lua'
2023-05-10 15:39:28: ERROR[Main]: no file './socket/core.so'
2023-05-10 15:39:28: ERROR[Main]: no file '/usr/local/lib/lua/5.1/socket/core.so'
2023-05-10 15:39:28: ERROR[Main]: no file '/usr/local/lib/lua/5.1/loadall.so'
2023-05-10 15:39:28: ERROR[Main]: no file './socket.so'
2023-05-10 15:39:28: ERROR[Main]: no file '/usr/local/lib/lua/5.1/socket.so'
2023-05-10 15:39:28: ERROR[Main]: no file '/usr/local/lib/lua/5.1/loadall.so'
2023-05-10 15:39:28: ERROR[Main]: stack traceback:
2023-05-10 15:39:28: ERROR[Main]: [C]: ?
2023-05-10 15:39:28: ERROR[Main]: [C]: in function 'error'
2023-05-10 15:39:28: ERROR[Main]: ...lone/worldmods/matrix_chat/lua-matrix/matrix/api.lua:52: in function 'get_http_client'
2023-05-10 15:39:28: ERROR[Main]: ...lone/worldmods/matrix_chat/lua-matrix/matrix/api.lua:67: in function 'API'
2023-05-10 15:39:28: ERROR[Main]: ...e/worldmods/matrix_chat/lua-matrix/matrix/client.lua:330: in function 'client'
2023-05-10 15:39:28: ERROR[Main]: ...est/worlds/DrgnzClone/worldmods/matrix_chat/init.lua:37: in main chunk
Hello, I have been having issues with the luasocket module. Installing modules trough luarocks didn't seem to work out for me so I installed needed lua modules via emerge (I am on Gentoo). This has silenced some errors, but I still have issues with luasocket. Does anyone know how to fix this?