{"id":234,"date":"2018-04-08T12:40:28","date_gmt":"2018-04-08T12:40:28","guid":{"rendered":"http:\/\/shajisoft.com\/shajisoft_wp\/?p=234"},"modified":"2018-04-08T18:33:19","modified_gmt":"2018-04-08T18:33:19","slug":"build-rtorrent-v0-9-6-for-linux-on-arm-armv5tel-with-ssl-and-tlsv1-2","status":"publish","type":"post","link":"https:\/\/shajisoft.com\/shajisoft_wp\/build-rtorrent-v0-9-6-for-linux-on-arm-armv5tel-with-ssl-and-tlsv1-2\/","title":{"rendered":"Build rtorrent v0.9.6 for Linux on ARM (armv5tel) with SSL and TLSv1.2"},"content":{"rendered":"<figure id=\"attachment_239\" aria-describedby=\"caption-attachment-239\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-239\" src=\"http:\/\/shajisoft.com\/shajisoft_wp\/wp-content\/uploads\/2018\/04\/rtorrent-0.9.6-chlffe-with-nas-300x234.png\" alt=\"\" width=\"300\" height=\"234\" srcset=\"https:\/\/shajisoft.com\/shajisoft_wp\/wp-content\/uploads\/2018\/04\/rtorrent-0.9.6-chlffe-with-nas-300x234.png 300w, https:\/\/shajisoft.com\/shajisoft_wp\/wp-content\/uploads\/2018\/04\/rtorrent-0.9.6-chlffe-with-nas-768x599.png 768w, https:\/\/shajisoft.com\/shajisoft_wp\/wp-content\/uploads\/2018\/04\/rtorrent-0.9.6-chlffe-with-nas.png 858w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><figcaption id=\"caption-attachment-239\" class=\"wp-caption-text\">rtorrent 0.9.6 running on Buffalo Linkstation Live (armv5tel)<\/figcaption><\/figure>\n<p>The rtorrent v0.8.1 from the Optware on a Buffalo Linkstation Live (LS-CHLFFE) v2 NAS doesn&#8217;t support TLSv1.2. We need to upgrade rtorrent to a recent release in order to support HTTPS trackers requiring TLSv1.2. This post is about the process of building rtorrent v0.9.6 from the source code.<\/p>\n<h1>Introduction<\/h1>\n<p>This post is about building rtorrent 0.9.6 on a Buffalo Linkstation Live (LS-CHLFFE) v2 NAS. It&#8217;s assumed that Optware has been set up. This means that necessary compilation tools can be installed by using ipkg command.<\/p>\n<p>We are going to build the following software components:<\/p>\n<ul>\n<li><a href=\"http:\/\/ftp.gnu.org\/gnu\/automake\/automake-1.16.tar.gz\">automake 1.16<\/a><\/li>\n<li><a href=\"https:\/\/zlib.net\/zlib-1.2.11.tar.gz\">libz v1.2.1<\/a><\/li>\n<li><a href=\"https:\/\/www.openssl.org\/source\/openssl-1.1.0h.tar.gz\">OpenSSL v1.1.0h<\/a><\/li>\n<li><a href=\"https:\/\/curl.haxx.se\/download\/curl-7.59.0.tar.gz\">curl v7.59.0<\/a><\/li>\n<li><a href=\"http:\/\/rtorrent.net\/downloads\/libtorrent-0.13.6.tar.gz\">libtorrent v0.13.6<\/a><\/li>\n<li><a href=\"http:\/\/rtorrent.net\/downloads\/rtorrent-0.9.6.tar.gz\">rtorrent v0.9.6<\/a><\/li>\n<\/ul>\n<p>Optionally, rtorrent supports XML-RPC, which requires <a href=\"http:\/\/xmlrpc-c.sourceforge.net\/\">xmlrpc-c<\/a>. To build xmlrpc-c, a recent version of Boost is required. Since I don&#8217;t use XML-RPC functionalities, in this post, rtorrent will be configured without XML-RPC.<\/p>\n<h1>Building steps<\/h1>\n<p>All the tools will be configured with prefix=\/opt\/local. This means that compiled built binaries and support files will be installed in subdirectories in \/opt\/local, for instance, executables will be installed in \/opt\/local\/bin, and libraries in \/opt\/local\/lib. We need to add \/opt\/local\/bin and \/opt\/local\/lib to the font of $PATH and $LD_LIBRARY_PATH respectively.<\/p>\n<h2>automake<\/h2>\n<p>Change to the directory where\u00a0automake-1.16.tar.gz is saved.<\/p>\n<pre title=\"Build automake 1.1.6\" class=\"lang:sh decode:true \">tar zxvf automake-1.16.tar.gz\r\ncd automake-1.16\r\nmkdir mybuild\r\ncd mybuild\r\n..\/configure --prefix=\/opt\/local\r\nmake\r\n\r\n# as root\r\nmake install<\/pre>\n<h2>libz<\/h2>\n<p>Change to the directory where\u00a0zlib-1.2.11.tar.gz is saved.<\/p>\n<pre title=\"Build libz 1.2.11\" class=\"lang:sh decode:true\">tar zxvf zlib-1.2.11.tar.gz\r\ncd zlib-1.2.11\r\nmkdir mybuild\r\ncd mybuild\r\n..\/configure  --prefix=\/opt\/local\r\nmake\r\n\r\n# as root\r\nmake install<\/pre>\n<h2>OpenSSL<\/h2>\n<p>Change to the directory where\u00a0openssl-1.1.0g.tar.gz is saved.<\/p>\n<pre title=\"Build OpenSSL 1.1.0h\" class=\"lang:sh decode:true \">tar zxvf openssl-1.1.0h.tar.gz\r\ncd openssl-1.1.0h\r\nmkdir mybuild\r\ncd mybuild\r\n..\/config -Wl,--enable-new-dtags --prefix=\/opt\/local\/ssl --openssldir=\/opt\/local\/ssl enable-egd\r\nmake\r\n\r\n# as root\r\nmake install<\/pre>\n<p>NB: The prefix is set to &#8220;\/opt\/local\/ssl&#8221;, therefore, the path should be add to $LD_LIBRARY_PATH as well. The configuration needs to include &#8220;enable-egd&#8221;, otherwise, curl would fail to compile.<\/p>\n<p>&nbsp;<\/p>\n<h2>curl<\/h2>\n<p>Change to the directory where\u00a0curl-7.59.0.tar.gz is saved.<\/p>\n<pre title=\"Build curl 7.59.0\" class=\"lang:sh decode:true \">tar zxvf curl-7.59.0.tar.gz\r\ncd curl-7.59.0\r\nmkdir mybuild\r\ncd mybuild\r\nPKG_CONFIG_PATH=\/opt\/local\/ssl\/lib\/pkgconfig ..\/configure --prefix=\/opt\/local --with-ssl=\/opt\/local\/ssl --with-libssl-prefix=\/opt\/local\/ssl\r\nmake\r\n\r\n# as root\r\nmake install<\/pre>\n<h2>libtorrent<\/h2>\n<p>Change to the directory where\u00a0libtorrent-0.13.6.tar.gz is saved.<\/p>\n<pre title=\"Build libtorrent 0.13.6\" class=\"lang:sh decode:true\">tar zxvf libtorrent-0.13.6.tar.gz\r\ncd libtorrent-0.13.6\r\nmkdir mybuild\r\ncd mybuild\r\nPKG_CONFIG_PATH=\"\/opt\/local\/ssl\/lib\/pkgconfig:\/opt\/local\/lib\/pkgconfig\" ..\/configure --prefix=\/opt\/local\r\nmake\r\n\r\n# as root\r\nmake install<\/pre>\n<p>Here is where it gets tricky. The previous steps work normally. But the installation of libtorrent v0.13.6 would fail with errors like the following<\/p>\n<pre title=\"Installation error with libtorrent\" class=\"lang:sh decode:true \">undefined reference to '__sync_sub_and_fetch_4'<\/pre>\n<p>It has turned out to that the version of gcc used for the compilation doesn&#8217;t have atomic builtin functions for ARM. Basically, the default gcc, gcc 4.2.3, doesn&#8217;t have atomic builtins on ARM. More information can be found <a href=\"http:\/\/vincesoft.blogspot.co.uk\/2012\/04\/how-to-solve-undefined-reference-to.html\">here<\/a> and <a href=\"https:\/\/github.com\/droboports\/droboports.github.io\/wiki\/Atomic-builtins-for-older-toolchains\">here<\/a>.<\/p>\n<p>In fact, libtorrent 0.13.6 can be configured not to use those atomic builtins by passing &#8220;-disable-instrumentation&#8221; to the configure script. That would allow libtorrent to be installed without any patches or tricks with gcc 4.2.3. However, rtorrent\u00a0 also uses atomic builtins and it can be turned off in rtorrent. Rtorrent would fail to link even with the tricks mentioned in above two links.<\/p>\n<p>So the solution would be to apply the tricks, that is, get the source code of those atomic builtins from gcc source tree, compile the code accordingly and link the compiled object code in both libtorrent and rtorrent. Change to a new working directory, for instance, ~\/downloads\/linux-atomic<\/p>\n<pre title=\"Get and build linux-atomic.c\" class=\"lang:sh decode:true \">wget -O linux-atomic.c \"http:\/\/gcc.gnu.org\/git\/?p=gcc.git;a=blob_plain;f=libgcc\/config\/arm\/linux-atomic.c;hb=master\"\r\nlibtool --tag=CC --mode=compile gcc -g -O2 -MT linux-atomic.lo -MD -MP -MF linux-atomic.Tpo -c -o linux-atomic.lo linux-atomic.c\r\nlibtool --tag=CC --mode=link gcc -g -O2 -o liblinux-atomic.la linux-atomic.lo<\/pre>\n<p>Now change to the directory where the source code of libtorrent is. But before we start building libtorrent, as I have tested, we need to apply one more change to the source code of libtorrent, which is also related to the use of atomic builtins in libtorrent. Edit src\/utils\/instrumentation.h and src\/utils\/instrumentation.cc, change the all the instances of int64_t to int32_t, and\u00a0PRIi64 to\u00a0PRIi32. Then, let&#8217;s change to mybuild directory and build libtorrent again. Note, if you have already run configure before in mybuild directory, please run &#8220;make distclean&#8221; before running the following commands.<\/p>\n<pre title=\"Build libtorrent 0.13.6 with patches\" class=\"lang:sh decode:true\"># Assume linux-atomic.c is in \/home\/taohe\/downloads\/linux-atomic\r\nPKG_CONFIG_PATH=\"\/opt\/local\/ssl\/lib\/pkgconfig:\/opt\/local\/lib\/pkgconfig\" ..\/configure --prefix=\/opt\/local LDFLAGS=\"-L\/home\/taohe\/downloads\/linux-atomic\" LIBS=\"-llinux-atomic\"\r\nmake \r\n\r\n# as root \r\nmake install<\/pre>\n<h2>rtorrent<\/h2>\n<p>Compilation of rtorrent requires ncurses header files. In Optware, we need to install &#8220;ncurses-dev&#8221; and &#8220;ncursesw-dev&#8221;.<\/p>\n<p>Change to the directory where rtorrent-0.9.6.tar.gz is saved.<\/p>\n<pre title=\"Build rtorrent 0.9.6\" class=\"lang:sh decode:true\"># Assume linux-atomic.c is in \/home\/taohe\/downloads\/linux-atomic \r\ntar zxvf rtorrent-0.9.6.tar.gz\r\ncd rtorrent-0.9.6\r\nmkdir mybuild\r\ncd mybuild\r\nPKG_CONFIG_PATH=\"\/opt\/local\/lib\/pkgconfig:\/opt\/local\/ssl\/lib\/pkgconfig\" ..\/configure --prefix=\/opt\/local LDFLAGS=\"-L\/home\/taohe\/downloads\/linux-atomic\" LIBS=\"-llinux-atomic\"\r\nmake\r\n\r\n# as root\r\nmake install<\/pre>\n<p>Done! For configuration of rtorrent, command list, and more information about rtorrent, please refer to <a href=\"https:\/\/github.com\/rakshasa\/rtorrent\/wiki\">rtorrent wiki page<\/a>.<\/p>\n<h1>Download<\/h1>\n<p>The compilation takes a long time on the NAS. I&#8217;ve made an archive of \/opt\/local. The executables (rtorrent and curl) should be able to run on compatible systems. The archive can be downloaded <a href=\"https:\/\/shajisoft.com\/download\/opt-local-armv5tel-gcc4.2.3.tar.gz\">here<\/a>. See README file included for more information about the archive.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The rtorrent v0.8.1 from the Optware on a Buffalo Linkstation Live (LS-CHLFFE) v2 NAS doesn&#8217;t support TLSv1.2. We need to upgrade rtorrent to a recent release in order to support HTTPS trackers requiring TLSv1.2. This post is about the process of building rtorrent v0.9.6 from the source code. Introduction This post is about building rtorrent [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":239,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":{"0":"post-234","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-uncategorized","8":"czr-hentry"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Build rtorrent v0.9.6 for Linux on ARM (armv5tel) with SSL and TLSv1.2<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/shajisoft.com\/shajisoft_wp\/build-rtorrent-v0-9-6-for-linux-on-arm-armv5tel-with-ssl-and-tlsv1-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Build rtorrent v0.9.6 for Linux on ARM (armv5tel) with SSL and TLSv1.2\" \/>\n<meta property=\"og:description\" content=\"The rtorrent v0.8.1 from the Optware on a Buffalo Linkstation Live (LS-CHLFFE) v2 NAS doesn&#8217;t support TLSv1.2. We need to upgrade rtorrent to a recent release in order to support HTTPS trackers requiring TLSv1.2. This post is about the process of building rtorrent v0.9.6 from the source code. Introduction This post is about building rtorrent [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/shajisoft.com\/shajisoft_wp\/build-rtorrent-v0-9-6-for-linux-on-arm-armv5tel-with-ssl-and-tlsv1-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Shajisoft\" \/>\n<meta property=\"article:published_time\" content=\"2018-04-08T12:40:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-04-08T18:33:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/shajisoft.com\/shajisoft_wp\/wp-content\/uploads\/2018\/04\/rtorrent-0.9.6-chlffe-with-nas.png\" \/>\n\t<meta property=\"og:image:width\" content=\"858\" \/>\n\t<meta property=\"og:image:height\" content=\"669\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"taohe\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"taohe\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/shajisoft.com\\\/shajisoft_wp\\\/build-rtorrent-v0-9-6-for-linux-on-arm-armv5tel-with-ssl-and-tlsv1-2\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/shajisoft.com\\\/shajisoft_wp\\\/build-rtorrent-v0-9-6-for-linux-on-arm-armv5tel-with-ssl-and-tlsv1-2\\\/\"},\"author\":{\"name\":\"taohe\",\"@id\":\"https:\\\/\\\/shajisoft.com\\\/shajisoft_wp\\\/#\\\/schema\\\/person\\\/076c9b498ded94485f1258125cf44852\"},\"headline\":\"Build rtorrent v0.9.6 for Linux on ARM (armv5tel) with SSL and TLSv1.2\",\"datePublished\":\"2018-04-08T12:40:28+00:00\",\"dateModified\":\"2018-04-08T18:33:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/shajisoft.com\\\/shajisoft_wp\\\/build-rtorrent-v0-9-6-for-linux-on-arm-armv5tel-with-ssl-and-tlsv1-2\\\/\"},\"wordCount\":694,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/shajisoft.com\\\/shajisoft_wp\\\/#\\\/schema\\\/person\\\/076c9b498ded94485f1258125cf44852\"},\"image\":{\"@id\":\"https:\\\/\\\/shajisoft.com\\\/shajisoft_wp\\\/build-rtorrent-v0-9-6-for-linux-on-arm-armv5tel-with-ssl-and-tlsv1-2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/shajisoft.com\\\/shajisoft_wp\\\/wp-content\\\/uploads\\\/2018\\\/04\\\/rtorrent-0.9.6-chlffe-with-nas.png\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/shajisoft.com\\\/shajisoft_wp\\\/build-rtorrent-v0-9-6-for-linux-on-arm-armv5tel-with-ssl-and-tlsv1-2\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/shajisoft.com\\\/shajisoft_wp\\\/build-rtorrent-v0-9-6-for-linux-on-arm-armv5tel-with-ssl-and-tlsv1-2\\\/\",\"url\":\"https:\\\/\\\/shajisoft.com\\\/shajisoft_wp\\\/build-rtorrent-v0-9-6-for-linux-on-arm-armv5tel-with-ssl-and-tlsv1-2\\\/\",\"name\":\"Build rtorrent v0.9.6 for Linux on ARM (armv5tel) with SSL and TLSv1.2\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/shajisoft.com\\\/shajisoft_wp\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/shajisoft.com\\\/shajisoft_wp\\\/build-rtorrent-v0-9-6-for-linux-on-arm-armv5tel-with-ssl-and-tlsv1-2\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/shajisoft.com\\\/shajisoft_wp\\\/build-rtorrent-v0-9-6-for-linux-on-arm-armv5tel-with-ssl-and-tlsv1-2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/shajisoft.com\\\/shajisoft_wp\\\/wp-content\\\/uploads\\\/2018\\\/04\\\/rtorrent-0.9.6-chlffe-with-nas.png\",\"datePublished\":\"2018-04-08T12:40:28+00:00\",\"dateModified\":\"2018-04-08T18:33:19+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/shajisoft.com\\\/shajisoft_wp\\\/build-rtorrent-v0-9-6-for-linux-on-arm-armv5tel-with-ssl-and-tlsv1-2\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/shajisoft.com\\\/shajisoft_wp\\\/build-rtorrent-v0-9-6-for-linux-on-arm-armv5tel-with-ssl-and-tlsv1-2\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/shajisoft.com\\\/shajisoft_wp\\\/build-rtorrent-v0-9-6-for-linux-on-arm-armv5tel-with-ssl-and-tlsv1-2\\\/#primaryimage\",\"url\":\"https:\\\/\\\/shajisoft.com\\\/shajisoft_wp\\\/wp-content\\\/uploads\\\/2018\\\/04\\\/rtorrent-0.9.6-chlffe-with-nas.png\",\"contentUrl\":\"https:\\\/\\\/shajisoft.com\\\/shajisoft_wp\\\/wp-content\\\/uploads\\\/2018\\\/04\\\/rtorrent-0.9.6-chlffe-with-nas.png\",\"width\":858,\"height\":669,\"caption\":\"rtorrent 0.9.6 running on Buffalo Linkstation Live (armv5tel)\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/shajisoft.com\\\/shajisoft_wp\\\/build-rtorrent-v0-9-6-for-linux-on-arm-armv5tel-with-ssl-and-tlsv1-2\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/shajisoft.com\\\/shajisoft_wp\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Build rtorrent v0.9.6 for Linux on ARM (armv5tel) with SSL and TLSv1.2\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/shajisoft.com\\\/shajisoft_wp\\\/#website\",\"url\":\"https:\\\/\\\/shajisoft.com\\\/shajisoft_wp\\\/\",\"name\":\"Shajisoft\",\"description\":\"Home of simple tools for simple tasks and weblogs\",\"publisher\":{\"@id\":\"https:\\\/\\\/shajisoft.com\\\/shajisoft_wp\\\/#\\\/schema\\\/person\\\/076c9b498ded94485f1258125cf44852\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/shajisoft.com\\\/shajisoft_wp\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/shajisoft.com\\\/shajisoft_wp\\\/#\\\/schema\\\/person\\\/076c9b498ded94485f1258125cf44852\",\"name\":\"taohe\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/shajisoft.com\\\/shajisoft_wp\\\/wp-content\\\/uploads\\\/2015\\\/05\\\/shajisoft_logo.png\",\"url\":\"https:\\\/\\\/shajisoft.com\\\/shajisoft_wp\\\/wp-content\\\/uploads\\\/2015\\\/05\\\/shajisoft_logo.png\",\"contentUrl\":\"https:\\\/\\\/shajisoft.com\\\/shajisoft_wp\\\/wp-content\\\/uploads\\\/2015\\\/05\\\/shajisoft_logo.png\",\"width\":250,\"height\":64,\"caption\":\"taohe\"},\"logo\":{\"@id\":\"https:\\\/\\\/shajisoft.com\\\/shajisoft_wp\\\/wp-content\\\/uploads\\\/2015\\\/05\\\/shajisoft_logo.png\"},\"url\":\"https:\\\/\\\/shajisoft.com\\\/shajisoft_wp\\\/author\\\/taohe\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Build rtorrent v0.9.6 for Linux on ARM (armv5tel) with SSL and TLSv1.2","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/shajisoft.com\/shajisoft_wp\/build-rtorrent-v0-9-6-for-linux-on-arm-armv5tel-with-ssl-and-tlsv1-2\/","og_locale":"en_US","og_type":"article","og_title":"Build rtorrent v0.9.6 for Linux on ARM (armv5tel) with SSL and TLSv1.2","og_description":"The rtorrent v0.8.1 from the Optware on a Buffalo Linkstation Live (LS-CHLFFE) v2 NAS doesn&#8217;t support TLSv1.2. We need to upgrade rtorrent to a recent release in order to support HTTPS trackers requiring TLSv1.2. This post is about the process of building rtorrent v0.9.6 from the source code. Introduction This post is about building rtorrent [&hellip;]","og_url":"https:\/\/shajisoft.com\/shajisoft_wp\/build-rtorrent-v0-9-6-for-linux-on-arm-armv5tel-with-ssl-and-tlsv1-2\/","og_site_name":"Shajisoft","article_published_time":"2018-04-08T12:40:28+00:00","article_modified_time":"2018-04-08T18:33:19+00:00","og_image":[{"width":858,"height":669,"url":"https:\/\/shajisoft.com\/shajisoft_wp\/wp-content\/uploads\/2018\/04\/rtorrent-0.9.6-chlffe-with-nas.png","type":"image\/png"}],"author":"taohe","twitter_card":"summary_large_image","twitter_misc":{"Written by":"taohe","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/shajisoft.com\/shajisoft_wp\/build-rtorrent-v0-9-6-for-linux-on-arm-armv5tel-with-ssl-and-tlsv1-2\/#article","isPartOf":{"@id":"https:\/\/shajisoft.com\/shajisoft_wp\/build-rtorrent-v0-9-6-for-linux-on-arm-armv5tel-with-ssl-and-tlsv1-2\/"},"author":{"name":"taohe","@id":"https:\/\/shajisoft.com\/shajisoft_wp\/#\/schema\/person\/076c9b498ded94485f1258125cf44852"},"headline":"Build rtorrent v0.9.6 for Linux on ARM (armv5tel) with SSL and TLSv1.2","datePublished":"2018-04-08T12:40:28+00:00","dateModified":"2018-04-08T18:33:19+00:00","mainEntityOfPage":{"@id":"https:\/\/shajisoft.com\/shajisoft_wp\/build-rtorrent-v0-9-6-for-linux-on-arm-armv5tel-with-ssl-and-tlsv1-2\/"},"wordCount":694,"commentCount":0,"publisher":{"@id":"https:\/\/shajisoft.com\/shajisoft_wp\/#\/schema\/person\/076c9b498ded94485f1258125cf44852"},"image":{"@id":"https:\/\/shajisoft.com\/shajisoft_wp\/build-rtorrent-v0-9-6-for-linux-on-arm-armv5tel-with-ssl-and-tlsv1-2\/#primaryimage"},"thumbnailUrl":"https:\/\/shajisoft.com\/shajisoft_wp\/wp-content\/uploads\/2018\/04\/rtorrent-0.9.6-chlffe-with-nas.png","inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/shajisoft.com\/shajisoft_wp\/build-rtorrent-v0-9-6-for-linux-on-arm-armv5tel-with-ssl-and-tlsv1-2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/shajisoft.com\/shajisoft_wp\/build-rtorrent-v0-9-6-for-linux-on-arm-armv5tel-with-ssl-and-tlsv1-2\/","url":"https:\/\/shajisoft.com\/shajisoft_wp\/build-rtorrent-v0-9-6-for-linux-on-arm-armv5tel-with-ssl-and-tlsv1-2\/","name":"Build rtorrent v0.9.6 for Linux on ARM (armv5tel) with SSL and TLSv1.2","isPartOf":{"@id":"https:\/\/shajisoft.com\/shajisoft_wp\/#website"},"primaryImageOfPage":{"@id":"https:\/\/shajisoft.com\/shajisoft_wp\/build-rtorrent-v0-9-6-for-linux-on-arm-armv5tel-with-ssl-and-tlsv1-2\/#primaryimage"},"image":{"@id":"https:\/\/shajisoft.com\/shajisoft_wp\/build-rtorrent-v0-9-6-for-linux-on-arm-armv5tel-with-ssl-and-tlsv1-2\/#primaryimage"},"thumbnailUrl":"https:\/\/shajisoft.com\/shajisoft_wp\/wp-content\/uploads\/2018\/04\/rtorrent-0.9.6-chlffe-with-nas.png","datePublished":"2018-04-08T12:40:28+00:00","dateModified":"2018-04-08T18:33:19+00:00","breadcrumb":{"@id":"https:\/\/shajisoft.com\/shajisoft_wp\/build-rtorrent-v0-9-6-for-linux-on-arm-armv5tel-with-ssl-and-tlsv1-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/shajisoft.com\/shajisoft_wp\/build-rtorrent-v0-9-6-for-linux-on-arm-armv5tel-with-ssl-and-tlsv1-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/shajisoft.com\/shajisoft_wp\/build-rtorrent-v0-9-6-for-linux-on-arm-armv5tel-with-ssl-and-tlsv1-2\/#primaryimage","url":"https:\/\/shajisoft.com\/shajisoft_wp\/wp-content\/uploads\/2018\/04\/rtorrent-0.9.6-chlffe-with-nas.png","contentUrl":"https:\/\/shajisoft.com\/shajisoft_wp\/wp-content\/uploads\/2018\/04\/rtorrent-0.9.6-chlffe-with-nas.png","width":858,"height":669,"caption":"rtorrent 0.9.6 running on Buffalo Linkstation Live (armv5tel)"},{"@type":"BreadcrumbList","@id":"https:\/\/shajisoft.com\/shajisoft_wp\/build-rtorrent-v0-9-6-for-linux-on-arm-armv5tel-with-ssl-and-tlsv1-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/shajisoft.com\/shajisoft_wp\/"},{"@type":"ListItem","position":2,"name":"Build rtorrent v0.9.6 for Linux on ARM (armv5tel) with SSL and TLSv1.2"}]},{"@type":"WebSite","@id":"https:\/\/shajisoft.com\/shajisoft_wp\/#website","url":"https:\/\/shajisoft.com\/shajisoft_wp\/","name":"Shajisoft","description":"Home of simple tools for simple tasks and weblogs","publisher":{"@id":"https:\/\/shajisoft.com\/shajisoft_wp\/#\/schema\/person\/076c9b498ded94485f1258125cf44852"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/shajisoft.com\/shajisoft_wp\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/shajisoft.com\/shajisoft_wp\/#\/schema\/person\/076c9b498ded94485f1258125cf44852","name":"taohe","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/shajisoft.com\/shajisoft_wp\/wp-content\/uploads\/2015\/05\/shajisoft_logo.png","url":"https:\/\/shajisoft.com\/shajisoft_wp\/wp-content\/uploads\/2015\/05\/shajisoft_logo.png","contentUrl":"https:\/\/shajisoft.com\/shajisoft_wp\/wp-content\/uploads\/2015\/05\/shajisoft_logo.png","width":250,"height":64,"caption":"taohe"},"logo":{"@id":"https:\/\/shajisoft.com\/shajisoft_wp\/wp-content\/uploads\/2015\/05\/shajisoft_logo.png"},"url":"https:\/\/shajisoft.com\/shajisoft_wp\/author\/taohe\/"}]}},"_links":{"self":[{"href":"https:\/\/shajisoft.com\/shajisoft_wp\/wp-json\/wp\/v2\/posts\/234","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shajisoft.com\/shajisoft_wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shajisoft.com\/shajisoft_wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shajisoft.com\/shajisoft_wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shajisoft.com\/shajisoft_wp\/wp-json\/wp\/v2\/comments?post=234"}],"version-history":[{"count":5,"href":"https:\/\/shajisoft.com\/shajisoft_wp\/wp-json\/wp\/v2\/posts\/234\/revisions"}],"predecessor-version":[{"id":241,"href":"https:\/\/shajisoft.com\/shajisoft_wp\/wp-json\/wp\/v2\/posts\/234\/revisions\/241"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/shajisoft.com\/shajisoft_wp\/wp-json\/wp\/v2\/media\/239"}],"wp:attachment":[{"href":"https:\/\/shajisoft.com\/shajisoft_wp\/wp-json\/wp\/v2\/media?parent=234"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shajisoft.com\/shajisoft_wp\/wp-json\/wp\/v2\/categories?post=234"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shajisoft.com\/shajisoft_wp\/wp-json\/wp\/v2\/tags?post=234"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}