You are not logged in.

#1 2025-06-28 21:20:31

Androphin
Member
Registered: 2020-01-22
Posts: 6

Prosody with unbound lunbound.so: undefined symbol: lua_newuserdata

Hi,

at the process of installing JITSI (https://wiki.archlinux.org/title/Jitsi-meet) I'm stuck at make Prosody use Unbound.
Therefore I installed https://aur.archlinux.org/packages/luaunbound and did what toddstevens wrote in his comment.
When I do a command like 'prosodyctl check dns' I get this error:

**************************
A problem occurred while reading the config file /etc/prosody/prosody.cfg.lua

Error: error loading module 'lunbound' from file '/usr/lib/prosody/util/lunbound.so':
        /usr/lib/prosody/util/lunbound.so: undefined symbol: lua_newuserdata

More help on configuring Prosody can be found at https://prosody.im/doc/configure
Good luck!
**************************

I checked the lunbound.so with objdump -T and see the symbol, but I don't know what to do.

Is there a workaround or what do you suggest?

Thanks in advance

P.S.: Looks like there are issues with newer versions of Prosody https://issues.prosody.im/1836 even it's not exactly the same I have.

Offline

#2 2025-07-01 19:36:32

Androphin
Member
Registered: 2020-01-22
Posts: 6

Re: Prosody with unbound lunbound.so: undefined symbol: lua_newuserdata

I got additional errors with lua-cjson. It seems that the deps from AUR install the latest lua version 5.4.
That conflicts with the used libs that are for lua 5.2.

I solved it this way:
One dependency that is also installed from the AUR package is luarocks.
Then I used luarocks to install directly cjson.
That way the correct working cjson is installed to the right locations and no errors occur.

Offline

Board footer

Powered by FluxBB