Install guide libtorrent (ubuntu) - KevinMidboe/seasonedShows GitHub Wiki
There was a warning message and found [here] that it was fixed in a newer version of libtorrent then the one installed with apt.
Needed to build manually, followed this guide. http://dev.deluge-torrent.org/wiki/Building/libtorrent
Downloaded tar from here: https://code.google.com/archive/p/libtorrent/downloads
tar -xzcf libtorrent-rasterbar-0.16.13.tar.gz
cd libtorrent-rasterbar-0.16.13
./configure --enable-python-binding --with-boost-libdir=/usr/lib/x86_64-linux-gnu
make
sudo make install
make -j$(nproc)
Needed to use the --with-boost-libdir because I had a old version of boot-libdir.
Downloaded a newer version of boot-libdir??
Check where it is installed with: ldconfig -p | grep libboost
got output:
...
libboost_coroutine.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_coroutine.so
libboost_context.so.1.62.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_context.so.1.62.0
libboost_context.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_context.so
libboost_chrono.so.1.62.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_chrono.so.1.62.0
...