hi,
Read this post https://discourse.osmc.tv/t/trying-to-upgrade-libtorrent-build-from-source/36344/3
The Deluge team maintains a PPA repo with the latest version of Libtorrent/Deluge. The only workaround is the way to add the repo to your apt source, described in the topic I mentioned ( use “sudo nano /etc/apt/sources.list” instead as described)
all the rest is fully functional and tested.