Lftp error

After having installed the network tools addon I got this error trying to run lftp:
lftp: error while loading shared libraries: libidn2.so.4: cannot open shared object file: No such file or directory

Same error as here:
https://forum.libreelec.tv/thread/14972-lftp-from-the-network-tools-add-on-not-working-in-le-9-0-1-gives-error-that-libi/?postID=114489&highlight=LFTP#post114489

Addon needs to be rebuild.
As a workaround you can try to download library in ssh console

mkdir /storage/.kodi/addons/virtual.network-tools/lib
wget -O /storage/.kodi/addons/virtual.network-tools/lib/libidn2.so.4 http://vpeter.libreelec.tv/Amlogic/libidn2.so.4_amlogic
1 Like

Thank you @vpeter that fixed it!

Great.
You will have to redo the same on addon reinstall if you get same error.