Authentication ldap fails after Upgrade prosody 0.11

Hi,
after update prosody 0.11.7 , my authentication ldap no longer works.
After several days of research, i need help please.

Error in the prosody logs: auth_ldap2 error Failed to load the LuaLDAP library for accessing LDAP: /usr/lib/prosody/util/startup.lua:201: module ‘lualdap’ not found

Nov 14 18:26:51 localhost:auth_ldap2    error   Failed to load the LuaLDAP library for accessing LDAP: /usr/lib/prosody/util/startup.lua:201: module 'lualdap' not found:
            no field package.preload['lualdap']
            no file '/usr/lib/prosody/lualdap.lua'
            no file '/usr/local/share/lua/5.2/lualdap.lua'
            no file '/usr/local/share/lua/5.2/lualdap/init.lua'
            no file '/usr/local/lib/lua/5.2/lualdap.lua'
            no file '/usr/local/lib/lua/5.2/lualdap/init.lua'
            no file '/usr/share/lua/5.2/lualdap.lua'
            no file '/usr/share/lua/5.2/lualdap/init.lua'
            no file '/usr/lib/prosody/lualdap.so'
            no file '/usr/local/lib/lua/5.2/lualdap.so'
            no file '/usr/lib/x86_64-linux-gnu/lua/5.2/lualdap.so'
            no file '/usr/lib/lua/5.2/lualdap.so'
            no file '/usr/local/lib/lua/5.2/loadall.so'
    Nov 14 18:26:51 localhost:auth_ldap2    error   More information on install LuaLDAP can be found at http://www.keplerproject.org/lualdap

Ubuntu 18.04.3 LTS
jitsi-meet:all/stable 2.0.5142-1
prosody:amd64/bionic 0.11.7-1~bionic4

Thank you,

luarocks-5.2 install lualdap?

Thank you for your reply.

luarocks-5.2 install lualdap --> luarocks-5.2: command not found. Even after apt-get install luarocks
Did I miss a step?
apt-get install luarocks

I think Ubuntu 20.04 is a better option for the Ubuntu users. Some issues are related on the older packages.

Try with luarocks install lualdap

Hi,
Thanks Damencho.
it’work after install luarocks and remove lua5.1
luarocks install lualdap

I also installed libldap2-dev otherwise ‘luarocks install lualdap’ produced a new error.