<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>BenV&#039;s notes &#187; boost</title>
	<atom:link href="http://notes.benv.junerules.com/tag/boost/feed/" rel="self" type="application/rss+xml" />
	<link>http://notes.benv.junerules.com</link>
	<description>Rants and notes</description>
	<lastBuildDate>Wed, 28 Jul 2010 13:36:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Teamspeak 3 / epoll issue fixed</title>
		<link>http://notes.benv.junerules.com/all/software/teamspeak-3-epoll-issue-fixed/</link>
		<comments>http://notes.benv.junerules.com/all/software/teamspeak-3-epoll-issue-fixed/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 15:12:05 +0000</pubDate>
		<dc:creator>BenV</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[boost]]></category>
		<category><![CDATA[glibc]]></category>
		<category><![CDATA[slackware]]></category>
		<category><![CDATA[teamspeak]]></category>

		<guid isPermaLink="false">http://notes.benv.junerules.com/?p=712</guid>
		<description><![CDATA[After a few days of waiting on a reply on the forums I got tired of waiting. So my possible solutions: Either switch to a newer glibc (which probably comes down to upgrading to slackware 13, not in the mood for that) or move the teamspeak server to a new domU. Since it couldn&#8217;t possible [...]]]></description>
			<content:encoded><![CDATA[<p>After a few days of waiting on a reply on the forums I got tired of waiting. So my possible solutions: Either switch to a newer glibc (which probably comes down to upgrading to slackware 13, not in the mood for that) or move the teamspeak server to a new domU. Since it couldn&#8217;t possible *cough* be kernel related, I figured the problem had to be in glibc somewhere.<span id="more-712"></span><br />
To remind you guys of the problem, check out this post: <a href="http://notes.benv.junerules.com/all/software/teamspeak-3/">Teamspeak 3</a>.<br />
Or summarized: starting Teamspeak 3 server beta 16 on Slackware 11 (32 bit) fails with:</p>
<div class="codecolorer-container bash vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000;">2010</span>-01-<span style="color: #000000;">22</span> <span style="color: #000000;">15</span>:<span style="color: #000000;">16</span>:<span style="color: #000000;">12.282194</span><span style="color: #000000; font-weight: bold;">|</span>WARNING <span style="color: #000000; font-weight: bold;">|</span>VirtualServer <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #000000;">1</span><span style="color: #000000; font-weight: bold;">|</span> <span style="color: #660033;">--------------------------------------------------------</span><br />
terminate called after throwing an instance of <span style="color: #ff0000;">'boost::exception_detail::clone_impl&lt;boost::except ion_detail::error_info_injector&lt;boost::system::sys tem_error&gt; &gt;'</span><br />
what<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>: epoll: Function not implemented<br />
Aborted</div></div>
<p>So I wondered how to figure out the problem. Digging around in libc gave some insight:</p>
<div class="codecolorer-container bash vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$ <span style="color: #c20cb9; font-weight: bold;">strings</span> <span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libc.so.6 <span style="color: #000000; font-weight: bold;">|</span><span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-i</span> epoll <br />
epoll_wait<br />
epoll_ctl<br />
epoll_create<br />
warning: epoll_create is not implemented and will always fail<br />
warning: epoll_ctl is not implemented and will always fail<br />
warning: epoll_wait is not implemented and will always fail</div></div>
<p>Say what? Will always fail? That explains&#8230;. but why?!<br />
Apparently there is another libc library that normally gets used that DOES have the proper epoll support, it is in /lib/tls . Weren&#8217;t it that the tls dir was renamed because Xen complained about it, so it doesn&#8217;t get used.</p>
<div class="codecolorer-container bash vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$ &nbsp;<span style="color: #c20cb9; font-weight: bold;">strings</span> <span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>tls.disabled<span style="color: #000000; font-weight: bold;">/</span>libc.so.6 <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> epol <br />
epoll_wait<br />
epoll_ctl<br />
epoll_create<br />
__GI_epoll_ctl<br />
__GI_epoll_wait<br />
__GI_epoll_create<br />
epoll_wait<br />
epoll_ctl<br />
epoll_create</div></div>
<p>No warnings. However, a quick workaround to test this conclusion with LD_PRELOAD:</p>
<div class="codecolorer-container bash vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>teamspeak<span style="color: #000000; font-weight: bold;">/</span>teamspeak_server-b16<span style="color: #666666; font-style: italic;"># LD_PRELOAD=&quot;/lib/tls.disabled/libc.so.6 &nbsp;/lib/tls.disabled/libpthread-2.3.6.so&quot; setuidgid teamspeak ./ts3server_linux_x86</span><br />
TeamSpeak Server 3.0.0-beta16 <span style="color: #7a0874; font-weight: bold;">&#91;</span>Build: <span style="color: #000000;">9929</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><br />
<span style="color: #7a0874; font-weight: bold;">&#40;</span>c<span style="color: #7a0874; font-weight: bold;">&#41;</span>TeamSpeak Systems GmbH<br />
<br />
Logging started<br />
<span style="color: #000000;">2010</span>-01-<span style="color: #000000;">25</span> 09:<span style="color: #000000;">34</span>:<span style="color: #000000;">17.448370</span><span style="color: #000000; font-weight: bold;">|</span>INFO &nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">|</span>ServerLibPriv <span style="color: #000000; font-weight: bold;">|</span> &nbsp; <span style="color: #000000; font-weight: bold;">|</span> Server Version: 3.0.0-beta16 <span style="color: #7a0874; font-weight: bold;">&#91;</span>Build: <span style="color: #000000;">9929</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><br />
<span style="color: #000000;">2010</span>-01-<span style="color: #000000;">25</span> 09:<span style="color: #000000;">34</span>:<span style="color: #000000;">17.448993</span><span style="color: #000000; font-weight: bold;">|</span>INFO &nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">|</span>DatabaseQuery <span style="color: #000000; font-weight: bold;">|</span> &nbsp; <span style="color: #000000; font-weight: bold;">|</span> dbPlugin name: &nbsp; &nbsp;SQLite3 plugin, <span style="color: #7a0874; font-weight: bold;">&#40;</span>c<span style="color: #7a0874; font-weight: bold;">&#41;</span>TeamSpeak Systems GmbH<br />
<span style="color: #000000;">2010</span>-01-<span style="color: #000000;">25</span> 09:<span style="color: #000000;">34</span>:<span style="color: #000000;">17.449415</span><span style="color: #000000; font-weight: bold;">|</span>INFO &nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">|</span>DatabaseQuery <span style="color: #000000; font-weight: bold;">|</span> &nbsp; <span style="color: #000000; font-weight: bold;">|</span> dbPlugin version: 3.6.21<br />
<span style="color: #000000;">2010</span>-01-<span style="color: #000000;">25</span> 09:<span style="color: #000000;">34</span>:<span style="color: #000000;">17.449913</span><span style="color: #000000; font-weight: bold;">|</span>INFO &nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">|</span>DatabaseQuery <span style="color: #000000; font-weight: bold;">|</span> &nbsp; <span style="color: #000000; font-weight: bold;">|</span> checking database integrity<br />
<span style="color: #000000;">2010</span>-01-<span style="color: #000000;">25</span> 09:<span style="color: #000000;">34</span>:<span style="color: #000000;">17.605166</span><span style="color: #000000; font-weight: bold;">|</span>INFO &nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">|</span>Accounting &nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">|</span> &nbsp; <span style="color: #000000; font-weight: bold;">|</span> Licensing Information<br />
<span style="color: #000000;">2010</span>-01-<span style="color: #000000;">25</span> 09:<span style="color: #000000;">34</span>:<span style="color: #000000;">17.606004</span><span style="color: #000000; font-weight: bold;">|</span>INFO &nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">|</span>Accounting &nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">|</span> &nbsp; <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #7a0874; font-weight: bold;">type</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: Non-profit<br />
<span style="color: #000000;">2010</span>-01-<span style="color: #000000;">25</span> 09:<span style="color: #000000;">34</span>:<span style="color: #000000;">17.606884</span><span style="color: #000000; font-weight: bold;">|</span>INFO &nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">|</span>Accounting &nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">|</span> &nbsp; <span style="color: #000000; font-weight: bold;">|</span> starting <span style="color: #c20cb9; font-weight: bold;">date</span> &nbsp; &nbsp; : Mon Jan <span style="color: #000000;">11</span> 00:00:00 <span style="color: #000000;">2010</span><br />
<span style="color: #000000;">2010</span>-01-<span style="color: #000000;">25</span> 09:<span style="color: #000000;">34</span>:<span style="color: #000000;">17.607657</span><span style="color: #000000; font-weight: bold;">|</span>INFO &nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">|</span>Accounting &nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">|</span> &nbsp; <span style="color: #000000; font-weight: bold;">|</span> ending <span style="color: #c20cb9; font-weight: bold;">date</span> &nbsp; &nbsp; &nbsp; : Tue Jan <span style="color: #000000;">11</span> 00:00:00 <span style="color: #000000;">2011</span><br />
<span style="color: #000000;">2010</span>-01-<span style="color: #000000;">25</span> 09:<span style="color: #000000;">34</span>:<span style="color: #000000;">17.608393</span><span style="color: #000000; font-weight: bold;">|</span>INFO &nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">|</span>Accounting &nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">|</span> &nbsp; <span style="color: #000000; font-weight: bold;">|</span> max virtualservers: <span style="color: #000000;">10</span><br />
<span style="color: #000000;">2010</span>-01-<span style="color: #000000;">25</span> 09:<span style="color: #000000;">34</span>:<span style="color: #000000;">17.608856</span><span style="color: #000000; font-weight: bold;">|</span>INFO &nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">|</span>Accounting &nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">|</span> &nbsp; <span style="color: #000000; font-weight: bold;">|</span> max slots &nbsp; &nbsp; &nbsp; &nbsp; : <span style="color: #000000;">512</span><br />
<span style="color: #000000;">2010</span>-01-<span style="color: #000000;">25</span> 09:<span style="color: #000000;">34</span>:<span style="color: #000000;">17.639110</span><span style="color: #000000; font-weight: bold;">|</span>ERROR &nbsp; <span style="color: #000000; font-weight: bold;">|</span>FileManager &nbsp; <span style="color: #000000; font-weight: bold;">|</span> &nbsp; <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #7a0874; font-weight: bold;">bind</span><span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> failed: <span style="color: #000000;">98</span><br />
<span style="color: #000000;">2010</span>-01-<span style="color: #000000;">25</span> 09:<span style="color: #000000;">34</span>:<span style="color: #000000;">17.639691</span><span style="color: #000000; font-weight: bold;">|</span>ERROR &nbsp; <span style="color: #000000; font-weight: bold;">|</span>FileManager &nbsp; <span style="color: #000000; font-weight: bold;">|</span> &nbsp; <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #7a0874; font-weight: bold;">bind</span> failed on 0.0.0.0:<span style="color: #000000;">30033</span><br />
<span style="color: #000000;">2010</span>-01-<span style="color: #000000;">25</span> 09:<span style="color: #000000;">34</span>:<span style="color: #000000;">17.690035</span><span style="color: #000000; font-weight: bold;">|</span>ERROR &nbsp; <span style="color: #000000; font-weight: bold;">|</span>VirtualServer <span style="color: #000000; font-weight: bold;">|</span> &nbsp;<span style="color: #000000;">1</span><span style="color: #000000; font-weight: bold;">|</span> <span style="color: #7a0874; font-weight: bold;">bind</span> failed on 0.0.0.0:<span style="color: #000000;">9987</span><br />
<span style="color: #000000;">2010</span>-01-<span style="color: #000000;">25</span> 09:<span style="color: #000000;">34</span>:<span style="color: #000000;">17.690658</span><span style="color: #000000; font-weight: bold;">|</span>ERROR &nbsp; <span style="color: #000000; font-weight: bold;">|</span>VirtualSvrMgr <span style="color: #000000; font-weight: bold;">|</span> &nbsp; <span style="color: #000000; font-weight: bold;">|</span> loading VirtualServer<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">1</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> failed to start, error: unable to <span style="color: #7a0874; font-weight: bold;">bind</span> network port<br />
<span style="color: #000000;">2010</span>-01-<span style="color: #000000;">25</span> 09:<span style="color: #000000;">34</span>:<span style="color: #000000;">17.764504</span><span style="color: #000000; font-weight: bold;">|</span>INFO &nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">|</span>VirtualServer <span style="color: #000000; font-weight: bold;">|</span> &nbsp;<span style="color: #000000;">1</span><span style="color: #000000; font-weight: bold;">|</span> stopped<br />
<span style="color: #000000;">2010</span>-01-<span style="color: #000000;">25</span> 09:<span style="color: #000000;">34</span>:<span style="color: #000000;">17.765957</span><span style="color: #000000; font-weight: bold;">|</span>ERROR &nbsp; <span style="color: #000000; font-weight: bold;">|</span>Query &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">|</span> &nbsp; <span style="color: #000000; font-weight: bold;">|</span> 0.0.0.0:<span style="color: #000000;">10011</span> unable to <span style="color: #7a0874; font-weight: bold;">bind</span> error: <span style="color: #000000;">98</span>:Address already <span style="color: #000000; font-weight: bold;">in</span> use<br />
<span style="color: #000000;">2010</span>-01-<span style="color: #000000;">25</span> 09:<span style="color: #000000;">34</span>:<span style="color: #000000;">17.766585</span><span style="color: #000000; font-weight: bold;">|</span>ERROR &nbsp; <span style="color: #000000; font-weight: bold;">|</span>Query &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">|</span> &nbsp; <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #7a0874; font-weight: bold;">bind</span> failed on 0.0.0.0:<span style="color: #000000;">10011</span><br />
<span style="color: #000000;">2010</span>-01-<span style="color: #000000;">25</span> 09:<span style="color: #000000;">34</span>:<span style="color: #000000;">17.864334</span><span style="color: #000000; font-weight: bold;">|</span>INFO &nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">|</span>Query &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">|</span> &nbsp; <span style="color: #000000; font-weight: bold;">|</span> whitelist ips: 127.0.0.1,</div></div>
<p>Ha, that&#8217;s more like it. Yeah, it fails to start because I still have the beta 12 running in another dir, but it doesn&#8217;t give the error anymore.</p>
<p>Googling a bit to find some details on Slackware 11 and glibc gave me a discussion somewhere on a mailinglist that mentioned that the glibc in /lib was compiled against<br />
2.4 headers, while the /lib/tls version was compiled against 2.6 headers. That explains!<br />
In other words, time to recompile glibc against the proper headers.<br />
However, that task is a bit too cumbersome to post here. Long story short: it took me half the day to meddle with the glibc.Slackbuild script (and get the right kernel headers installed, etc) and I finally have a new glibc which works.</p>
<p>So, if you&#8217;re looking for a quick fix: use the LD_PRELOAD trick. For the more daring amongst you: upgrade your glibc &#8212; but beware that this is a DANGEROUS thing to do since it will break many things. Of course you could also upgrade to Slackware 13 and be done with it <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://notes.benv.junerules.com/all/software/teamspeak-3-epoll-issue-fixed/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Teamspeak 3</title>
		<link>http://notes.benv.junerules.com/all/software/teamspeak-3/</link>
		<comments>http://notes.benv.junerules.com/all/software/teamspeak-3/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 16:09:51 +0000</pubDate>
		<dc:creator>BenV</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[boost]]></category>
		<category><![CDATA[slackware]]></category>
		<category><![CDATA[teamspeak]]></category>
		<category><![CDATA[ventrilo]]></category>

		<guid isPermaLink="false">http://notes.benv.junerules.com/?p=705</guid>
		<description><![CDATA[A week or two ago I installed the latest teamspeak 3 beta on our server to check out how well it works these days. I was impressed by how far they have come. Back when I still played WoW we always used Ventrilo version 2. We never ugpraded to the new 3 version (even though [...]]]></description>
			<content:encoded><![CDATA[<p>A week or two ago I installed the latest teamspeak 3 beta on our server to check out how well it works these days.<br />
I was impressed by how far they have come. Back when I still played WoW we always used Ventrilo version 2. We never ugpraded to the new 3 version (even though thats illegal according to them&#8230;.) because version 3 had a 10 slot limitation on the free server version. Of course they don&#8217;t tell you how much a license for version 3 costs, unless you want to host more than 1000 slots. Paying for Ventrilo would be fine, but paying for 1000 slots? Ha. And yeah, there are hosts that specialize in that (and make you pay through the nose for it), but we wanted to host it ourselves.</p>
<p>Anyway, Teamspeak 3 has a much better view of the world. They offer a -free- personal (that means non commercial!) non-profit license. This means if you&#8217;re a guild you can obtain a license<br />
from them for free <a href="http://npl.tritoncia.com/ts3npl.php">over here</a> which allows you to host your own Teamspeak 3 server with 10 virtual servers and 512 slots. That&#8217;s more like it!<br />
And if you ARE commercial, their licenses are well defined and very affordable. For instance a 1 year license for 25 slots is only $25. Compare that to Ventrilo 2 providers that ask you E10,- per month. Ha.<br />
Oh, did I mention that they DO have a linux client? And windows and mac of course&#8230;. including the 64 bit versions. Lovely <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
<a href="http://notes.benv.junerules.com/wp-content/uploads/2010/01/ts3-beta-linux-client.png"><img src="http://notes.benv.junerules.com/wp-content/uploads/2010/01/ts3-beta-linux-client-300x290.png" alt="" title="ts3-beta-linux-client" width="300" height="290" class="alignnone size-medium wp-image-706" /></a></p>
<p>However, as it&#8217;s still in beta I run into some problems every now and then. Today I was asked to upgade the b12 server to the latest. So I tried.<br />
Result:</p>
<div class="codecolorer-container bash vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000;">2010</span>-01-<span style="color: #000000;">22</span> <span style="color: #000000;">15</span>:<span style="color: #000000;">16</span>:<span style="color: #000000;">11.447045</span><span style="color: #000000; font-weight: bold;">|</span>INFO &nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">|</span>ServerLibPriv <span style="color: #000000; font-weight: bold;">|</span> &nbsp; <span style="color: #000000; font-weight: bold;">|</span> Server Version: 3.0.0-beta16 <span style="color: #7a0874; font-weight: bold;">&#91;</span>Build: <span style="color: #000000;">9929</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><br />
&nbsp;<span style="color: #7a0874; font-weight: bold;">&#91;</span> blabla <span style="color: #7a0874; font-weight: bold;">&#93;</span><br />
terminate called after throwing an instance of <span style="color: #ff0000;">'boost::exception_detail::clone_impl&lt;boost::exception_detail::error_info_injector&lt;boost::system::system_error&gt; &gt;'</span><br />
&nbsp; what<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>: &nbsp;epoll: Function not implemented<br />
Aborted</div></div>
<p>&#8230;. welcome back my friend&#8230;. <span style="color:#FF0000"><strong>BOOST</strong></span> &#8230;. always the fucking same with that piece of rubbish.<br />
However, to be fair this could very well be a &#8220;learn to code&#8221; problem by teamspeak, but still&#8230; it&#8217;s always boost the brings the curses.<br />
So what is it complaining now? I don&#8217;t have epoll? Seriously? Let&#8217;s see about that.</p>
<div class="codecolorer-container bash vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;"># uname -a</span><br />
Linux blue 2.6.32.2-xenU <span style="color: #666666; font-style: italic;">#1 SMP Thu Dec 24 15:55:52 CET 2009 i686 athlon-4 i386 GNU/Linux</span><br />
<span style="color: #666666; font-style: italic;"># zcat /proc/config.gz &nbsp;| grep -i epol</span><br />
<span style="color: #007800;">CONFIG_EPOLL</span>=y</div></div>
<p>So that&#8217;s not it.<br />
The forum has <a href="http://forum.teamspeak.com/showthread.php?t=50088">this thread</a> suggesting it might be glibc that&#8217;s too old.<br />
However, this particular slackware 11 server has glibc version 2.3.6, which should be old enough (according to that forum thread at least). Just in case it&#8217;s not I&#8217;ll try upgrading that later.<br />
In the meanwhile <a href="http://forum.teamspeak.com/showthread.php?t=50376">I created a thread on this problem on the forums</a>, let&#8217;s see what they suggest. I&#8217;ll put updates here.</p>
]]></content:encoded>
			<wfw:commentRss>http://notes.benv.junerules.com/all/software/teamspeak-3/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Deluge issue</title>
		<link>http://notes.benv.junerules.com/all/software/deluge-issue/</link>
		<comments>http://notes.benv.junerules.com/all/software/deluge-issue/#comments</comments>
		<pubDate>Sat, 02 Jan 2010 11:52:39 +0000</pubDate>
		<dc:creator>BenV</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[boost]]></category>
		<category><![CDATA[deluge]]></category>
		<category><![CDATA[slackware]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://notes.benv.junerules.com/?p=689</guid>
		<description><![CDATA[This morning I noticed my torrent daemon (aka Deluge) was down. Checking the logs revealed this: &#91;ERROR &#160; &#93; 12:22:01 main:216 libboost_filesystem-mt.so: cannot open shared object file: No such file or directory Traceback &#40;most recent call last&#41;: &#160; File &#34;/usr/lib/python2.6/site-packages/deluge/main.py&#34;, line 209, in start_daemon &#160; &#160; Daemon&#40;options, args&#41; &#160; File &#34;/usr/lib/python2.6/site-packages/deluge/core/daemon.py&#34;, line 134, in __init__ [...]]]></description>
			<content:encoded><![CDATA[<p>This morning I noticed my torrent daemon (aka <a href="http://deluge-torrent.org/">Deluge</a>) was down. <span id="more-689"></span><br />
Checking the logs revealed this:</p>
<div class="codecolorer-container bash vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">&#91;</span>ERROR &nbsp; <span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000;">12</span>:<span style="color: #000000;">22</span>:01 main:<span style="color: #000000;">216</span> libboost_filesystem-mt.so: cannot open shared object <span style="color: #c20cb9; font-weight: bold;">file</span>: No such <span style="color: #c20cb9; font-weight: bold;">file</span> or directory<br />
Traceback <span style="color: #7a0874; font-weight: bold;">&#40;</span>most recent call <span style="color: #c20cb9; font-weight: bold;">last</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>:<br />
&nbsp; File <span style="color: #ff0000;">&quot;/usr/lib/python2.6/site-packages/deluge/main.py&quot;</span>, line <span style="color: #000000;">209</span>, <span style="color: #000000; font-weight: bold;">in</span> start_daemon<br />
&nbsp; &nbsp; Daemon<span style="color: #7a0874; font-weight: bold;">&#40;</span>options, args<span style="color: #7a0874; font-weight: bold;">&#41;</span><br />
&nbsp; File <span style="color: #ff0000;">&quot;/usr/lib/python2.6/site-packages/deluge/core/daemon.py&quot;</span>, line <span style="color: #000000;">134</span>, <span style="color: #000000; font-weight: bold;">in</span> __init__<br />
&nbsp; &nbsp; from deluge.core.core import Core<br />
&nbsp; File <span style="color: #ff0000;">&quot;/usr/lib/python2.6/site-packages/deluge/core/core.py&quot;</span>, line <span style="color: #000000;">36</span>, <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">&lt;</span>module<span style="color: #000000; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; from deluge._libtorrent import lt<br />
&nbsp; File <span style="color: #ff0000;">&quot;/usr/lib/python2.6/site-packages/deluge/_libtorrent.py&quot;</span>, line <span style="color: #000000;">59</span>, <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">&lt;</span>module<span style="color: #000000; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; import libtorrent <span style="color: #c20cb9; font-weight: bold;">as</span> lt<br />
ImportError: libboost_filesystem-mt.so: cannot open shared object <span style="color: #c20cb9; font-weight: bold;">file</span>: No such <span style="color: #c20cb9; font-weight: bold;">file</span> or directory</div></div>
<p>Interesting. Suddenly I reminded myself of some Slackware updates that probably installed a new version of boost yesterday, replacing my own version.</p>
<p>Oh well, since it seems to be the libtorrent part that&#8217;s bugging, I might as well upgrade it:</p>
<div class="codecolorer-container bash vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">root<span style="color: #000000; font-weight: bold;">@</span>janeman:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src$ <span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>downloads.sourceforge.net<span style="color: #000000; font-weight: bold;">/</span>project<span style="color: #000000; font-weight: bold;">/</span>libtorrent<span style="color: #000000; font-weight: bold;">/</span>libtorrent<span style="color: #000000; font-weight: bold;">/</span>libtorrent-0.14.7<span style="color: #000000; font-weight: bold;">/</span>libtorrent-rasterbar-0.14.7.tar.gz?<span style="color: #007800;">use_mirror</span>=freefr<br />
&nbsp;<span style="color: #666666; font-style: italic;"># Leech leech</span><br />
root<span style="color: #000000; font-weight: bold;">@</span>janeman:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src$ <span style="color: #c20cb9; font-weight: bold;">tar</span> zxf libtorrent-rasterbar-0.14.7.tar.gz<br />
&nbsp;<span style="color: #666666; font-style: italic;"># Kaboom, in your /usr/src</span><br />
root<span style="color: #000000; font-weight: bold;">@</span>janeman:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src$ <span style="color: #7a0874; font-weight: bold;">cd</span> libtorrent-rasterbar-0.14.7<br />
root<span style="color: #000000; font-weight: bold;">@</span>janeman:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>libtorrent-rasterbar-0.14.7$ .<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>usr <span style="color: #660033;">--enable-dependency-tracking</span> <span style="color: #660033;">--enable-shared</span> <span style="color: #660033;">--enable-static</span> <span style="color: #660033;">--enable-python-binding</span> <span style="color: #660033;">--with-boost</span> <span style="color: #660033;">--with-libgeoip</span><br />
&nbsp;<span style="color: #666666; font-style: italic;"># lalala, junk</span><br />
root<span style="color: #000000; font-weight: bold;">@</span>janeman:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>libtorrent-rasterbar-0.14.7$ <span style="color: #c20cb9; font-weight: bold;">make</span><br />
&nbsp;<span style="color: #666666; font-style: italic;"># See you in an hour</span><br />
root<span style="color: #000000; font-weight: bold;">@</span>janeman:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>libtorrent-rasterbar-0.14.7$ <span style="color: #c20cb9; font-weight: bold;">mkdir</span> pkg ; <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #007800;">DESTDIR</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #7a0874; font-weight: bold;">pwd</span><span style="color: #000000; font-weight: bold;">`/</span>pkg <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #7a0874; font-weight: bold;">cd</span> pkg<br />
root<span style="color: #000000; font-weight: bold;">@</span>janeman:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>libtorrent-rasterbar-0.14.7<span style="color: #000000; font-weight: bold;">/</span>pkg$ makepkg <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>packages<span style="color: #000000; font-weight: bold;">/</span>libtorrent-rasterbar-0.14.7-i386-<span style="color: #000000;">1</span>.tgz<br />
root<span style="color: #000000; font-weight: bold;">@</span>janeman:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>libtorrent-rasterbar-0.14.7<span style="color: #000000; font-weight: bold;">/</span>pkg$ upgradepkg <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>packages<span style="color: #000000; font-weight: bold;">/</span>libtorrent-rasterbar-0.14.7-i386-<span style="color: #000000;">1</span>.tgz</div></div>
<p>(or you could have used slackbuild.pl, it&#8217;s easier <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> )</p>
<p>After upgrading the package, deluge starts again. Wheee.</p>
]]></content:encoded>
			<wfw:commentRss>http://notes.benv.junerules.com/all/software/deluge-issue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Boost, qBitTorrent and lib64</title>
		<link>http://notes.benv.junerules.com/all/software/boost-qbittorrent-and-lib64/</link>
		<comments>http://notes.benv.junerules.com/all/software/boost-qbittorrent-and-lib64/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 16:13:06 +0000</pubDate>
		<dc:creator>BenV</dc:creator>
				<category><![CDATA[Morons]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[autoconf]]></category>
		<category><![CDATA[boost]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[slackware]]></category>
		<category><![CDATA[x86_64]]></category>

		<guid isPermaLink="false">http://notes.benv.junerules.com/?p=354</guid>
		<description><![CDATA[After toying around a bit on the news sites I decided it would be interesting to see if qBitTorrent would run on slackware 64. So we go to the download site, copy the url, and see if Slackbuild likes it. Slackbuild leeches, untars, gives the configure options (which are a bit buggy, I know, will [...]]]></description>
			<content:encoded><![CDATA[<p>After toying around a bit on the news sites I decided it would be interesting to see if <a href="http://qbittorrent.sourceforge.net">qBitTorrent</a> would run on slackware 64.<br />
So we go to the download site, copy the url, and see if Slackbuild likes it. Slackbuild leeches, untars, gives the configure options (which are a bit buggy, I know, will be fixed next release), runs configure. Configure crashes out with &#8220;blabla boost blabla&#8221;.<span id="more-354"></span></p>
<p>Oh. <span style="color:#FF0000">Boost</span>&#8230;.. that time of the month. If there&#8217;s one piece of trash I&#8217;ve run into very often on my compilation expeditions&#8230;. it&#8217;s boost. What a cancer piece of trash that is. You wouldn&#8217;t believe the amount of cursing I&#8217;ve gone through on my trails through &#8220;build from source&#8221; land because of boost. It never works, and when it does it&#8217;s limping on. They should have called it &#8220;blast&#8221; instead.<br />
These days boost is in the official slackware repositories. You&#8217;d think that would help, since I can&#8217;t mess up the paths etc anymore. (compiling boost is another disaster btw, don&#8217;t go there unless you like torture). But noo, as usual the programs that use boost (&#8220;because we can&#8217;t code &#8482;&#8221;, or at least, that&#8217;s what I think) are so good at coding stuff themselves that they fail the autoconf for it as well. Prutsers. Well, to be honest, if they can&#8217;t code it themselves it&#8217;s probably smart to use a library that handles it for them&#8230;.. but boost? :/</p>
<p>Anyway, back to qBitTorrent. Actually, it&#8217;s <span style="color:#FF00FF">libtorrent-rasterbar</span> that&#8217;s failing. Attempt 1, configure with only a prefix and no other options:</p>
<div class="codecolorer-container bash vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">benv<span style="color: #000000; font-weight: bold;">@</span>janeman:~<span style="color: #000000; font-weight: bold;">/</span>tmp$ <span style="color: #666666; font-style: italic;"># ./configure --prefix=/usr</span><br />
&nbsp; <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #000000; font-weight: bold;">*</span>blabla<span style="color: #000000; font-weight: bold;">*</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><br />
checking whether the Boost::System library is available... <span style="color: #c20cb9; font-weight: bold;">yes</span><br />
configure: error: unable to <span style="color: #c20cb9; font-weight: bold;">find</span> Boost.System library, currently this is required.</div></div>
<p>WHat?! Do you ahve Boost::System? Yes. I mean no!<br />
&#8230; seriously, who comes up with this shit&#8230;.<br />
So we dig into config.log and find:</p>
<div class="codecolorer-container bash vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">configure:<span style="color: #000000;">21533</span>: checking whether the Boost::System library is available<br />
configure:<span style="color: #000000;">21567</span>: <span style="color: #c20cb9; font-weight: bold;">g++</span> <span style="color: #660033;">-c</span> <span style="color: #660033;">-g</span> <span style="color: #660033;">-O2</span> &nbsp;-I<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>include conftest.cpp <span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">5</span><br />
configure:<span style="color: #000000;">21574</span>: <span style="color: #007800;">$?</span> = <span style="color: #000000;">0</span><br />
configure:<span style="color: #000000;">21597</span>: result: <span style="color: #c20cb9; font-weight: bold;">yes</span><br />
configure:<span style="color: #000000;">21865</span>: error: unable to <span style="color: #c20cb9; font-weight: bold;">find</span> Boost.System library, currently this is required.</div></div>
<p>Or in other words: nothing we didn&#8217;t already know. FUCK.<br />
Time for a trace.</p>
<div class="codecolorer-container bash vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">benv<span style="color: #000000; font-weight: bold;">@</span>janeman:~<span style="color: #000000; font-weight: bold;">/</span>tmp$ <span style="color: #c20cb9; font-weight: bold;">bash</span> <span style="color: #660033;">-x</span> .<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>usr <span style="color: #660033;">--with-ssl</span> <span style="color: #660033;">--with-boost-system</span>=boost_system <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">1</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">less</span><br />
&nbsp;<span style="color: #7a0874; font-weight: bold;">&#91;</span> shift-g, <span style="color: #7a0874; font-weight: bold;">wait</span>, search <span style="color: #000000; font-weight: bold;">for</span> Boost::System <span style="color: #7a0874; font-weight: bold;">&#93;</span><br />
++ <span style="color: #7a0874; font-weight: bold;">echo</span> -L<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<br />
++ <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">'s/[^\/]*//'</span><br />
+ <span style="color: #007800;">BOOSTLIBDIR</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<br />
+ <span style="color: #007800;">LDFLAGS_SAVE</span>=<span style="color: #ff0000;">' -L/usr/lib'</span><br />
+ <span style="color: #7a0874; font-weight: bold;">test</span> x = x<br />
++ <span style="color: #c20cb9; font-weight: bold;">ls</span> <span style="color: #ff0000;">'/usr/lib/libboost_system*.so*'</span> <span style="color: #ff0000;">'/usr/lib/libboost_system*.a*'</span><br />
++ <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #ff0000;">'s,.*/,,'</span><br />
++ <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">'s;^lib\(boost_system.*\)\.so.*$;\1;'</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">'s;^lib\(boost_system.*\)\.a*$;\1;'</span><br />
+ <span style="color: #7a0874; font-weight: bold;">test</span> x <span style="color: #ff0000;">'!='</span> xyes<br />
++ <span style="color: #c20cb9; font-weight: bold;">ls</span> <span style="color: #ff0000;">'/usr/lib/boost_system*.dll*'</span> <span style="color: #ff0000;">'/usr/lib/boost_system*.a*'</span><br />
++ <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #ff0000;">'s,.*/,,'</span><br />
++ <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">'s;^\(boost_system.*\)\.dll.*$;\1;'</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">'s;^\(boost_system.*\)\.a*$;\1;'</span><br />
+ <span style="color: #7a0874; font-weight: bold;">test</span> x = xno<br />
+ <span style="color: #007800;">CPPFLAGS</span>=<br />
+ <span style="color: #007800;">LDFLAGS</span>=<br />
+ <span style="color: #7a0874; font-weight: bold;">test</span> <span style="color: #660033;">-z</span> <span style="color: #ff0000;">''</span><br />
+ <span style="color: #7a0874; font-weight: bold;">printf</span> <span style="color: #ff0000;">'%s\n'</span> <span style="color: #ff0000;">'configure:21865: error: unable to find Boost.System library, currently this is required.'</span><br />
+ <span style="color: #7a0874; font-weight: bold;">printf</span> <span style="color: #ff0000;">'%s\n'</span> <span style="color: #ff0000;">'configure: error: unable to find Boost.System library, currently this is required.'</span><br />
configure: error: unable to <span style="color: #c20cb9; font-weight: bold;">find</span> Boost.System library, currently this is required.</div></div>
<p>&#8230;. <span style="color:#FFFF00">/usr/lib</span>? Says who? Not me, that&#8217;s for sure. idiots.<br />
In fact, I&#8217;m quite sure that it&#8217;s in <span style="color:#FFFF00">/usr/lib64</span>.</p>
<div class="codecolorer-container bash vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">benv<span style="color: #000000; font-weight: bold;">@</span>janeman:~<span style="color: #000000; font-weight: bold;">/</span>tmp$ &nbsp;<span style="color: #c20cb9; font-weight: bold;">ls</span> <span style="color: #660033;">-la</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib64<span style="color: #000000; font-weight: bold;">/</span>libboost_filesyste<span style="color: #000000; font-weight: bold;">*</span> <br />
<span style="color: #660033;">-rwxr-xr-x</span> <span style="color: #000000;">1</span> root root <span style="color: #000000;">83368</span> <span style="color: #000000;">2009</span>-08-<span style="color: #000000;">25</span> 04:<span style="color: #000000;">31</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib64<span style="color: #000000; font-weight: bold;">/</span>libboost_filesystem-mt.so<span style="color: #000000; font-weight: bold;">*</span><br />
<span style="color: #660033;">-rwxr-xr-x</span> <span style="color: #000000;">1</span> root root <span style="color: #000000;">83336</span> <span style="color: #000000;">2009</span>-08-<span style="color: #000000;">25</span> 04:<span style="color: #000000;">31</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib64<span style="color: #000000; font-weight: bold;">/</span>libboost_filesystem.so<span style="color: #000000; font-weight: bold;">*</span></div></div>
<p>Jup, as expected. Boost is kanker. Since boost doesn&#8217;t have the usual pkgconfig issues, we can only conclude that the reason is that either this configure.in was written by a moron, or that<br />
boost supplies invalid tests for finding itself through the autoconf system. I suspect the latter, but that&#8217;s just me <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>In this case the solution is simple, since the configure script has an override option. Wonder why&#8230; maybe they ran into boost idiocies before? <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
The solution:</p>
<div class="codecolorer-container bash vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">benv<span style="color: #000000; font-weight: bold;">@</span>janeman:~<span style="color: #000000; font-weight: bold;">/</span>tmp$ .<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>usr <span style="color: #660033;">--with-boost-libdir</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib64</div></div>
<p>This runs through configure, it finds the boost garbage and runs through. And guess what? It even compiles! <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The gist of this rant: autoconf is pretty useless if you make assumptions that autoconf is supposed to detect. If you write software, don&#8217;t assume this stuff, try to detect it.<br />
Also: when it fails, give me an error message that is useful, not some generic error code. &#8220;Library not found&#8221; vs &#8220;library not found because libblabla.so doesn&#8217;t exist in /usr/lib&#8221;.</p>
<p>About qbittorrent: it&#8217;s a cute little torrent client for linux. Especially if you like faily lightweight stuff that does has a gui. The thing I like about those lightweight clients: they&#8217;re fast.<br />
This one even has an RSS reader these days&#8230;. cute.<br />
Here&#8217;s a screenie:<br />
<div id="attachment_355" class="wp-caption alignnone" style="width: 310px"><a href="http://notes.benv.junerules.com/wp-content/uploads/2009/09/qbittorrent-1.5.0.png"><img src="http://notes.benv.junerules.com/wp-content/uploads/2009/09/qbittorrent-1.5.0-300x184.png" alt="qbittorrent v1.5.0" title="qbittorrent-1.5.0" width="300" height="184" class="size-medium wp-image-355" /></a><p class="wp-caption-text">qbittorrent v1.5.0</p></div></p>
<p>So qBittorrent: keep up the good work, and get rid of boost <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://notes.benv.junerules.com/all/software/boost-qbittorrent-and-lib64/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
