FS#67510 - [prosody] luasocket not found
Attached to Project:
Community Packages
Opened by georg (fordprefect) - Thursday, 06 August 2020, 11:53 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 06 August 2020, 13:08 GMT
Opened by georg (fordprefect) - Thursday, 06 August 2020, 11:53 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 06 August 2020, 13:08 GMT
|
Details
Description:
After upgrading prosody to 1:0.11.5-1 it refuses to start with the message: prosodyctl[13316]: Prosody was unable to find luasocket […]snip[…] prosodyctl[13316]: luasocket is required for Prosody to run, so we will now exit. lua52-socket is installed in version 20190219-3. No partial upgrade, whole system updated together. |
This task depends upon
Closed by Doug Newgard (Scimmia)
Thursday, 06 August 2020, 13:08 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#67455
Thursday, 06 August 2020, 13:08 GMT
Reason for closing: Duplicate
Additional comments about closing:
Importing the socket module on the lua52 interpreter yields an "undefined symbol" error in the module:
Lua 5.2.4 Copyright (C) 1994-2015 Lua.org, PUC-Rio
> require "socket"
error loading module 'socket.core' from file '/usr/lib/lua/5.2/socket/core.so':
/usr/lib/lua/5.2/socket/core.so: undefined symbol: lua_newuserdatauv
stack traceback:
[C]: in ?
[C]: in function 'require'
/usr/share/lua/5.2/socket.lua:12: in main chunk
[C]: in function 'require'
stdin:1: in main chunk
[C]: in ?
This is then an issue with lua52-socket, not with prosody (which merely fails to initialize due to the error)