From 76b0b6dfcef9c218376d2b95b748c0132cbaa782 Mon Sep 17 00:00:00 2001 From: Kevin Date: Thu, 8 Mar 2018 01:20:27 +0100 Subject: [PATCH] Created Install guide libtorrent (ubuntu) (markdown) --- Install-guide-libtorrent-(ubuntu).md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Install-guide-libtorrent-(ubuntu).md diff --git a/Install-guide-libtorrent-(ubuntu).md b/Install-guide-libtorrent-(ubuntu).md new file mode 100644 index 0000000..0600853 --- /dev/null +++ b/Install-guide-libtorrent-(ubuntu).md @@ -0,0 +1,27 @@ +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 +... +``` \ No newline at end of file