<?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>Bluehorn's Blog &#187; Observations</title>
	<atom:link href="http://www.landschoff.net/blog/category/observations/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.landschoff.net/blog</link>
	<description>Ramblings of Torsten Landschoff</description>
	<lastBuildDate>Thu, 08 Jul 2010 10:43:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>libtool silently skips shared libraries without -rpath</title>
		<link>http://www.landschoff.net/blog/2009/12/libtool-silently-skips-shared-libraries-without-rpath/</link>
		<comments>http://www.landschoff.net/blog/2009/12/libtool-silently-skips-shared-libraries-without-rpath/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 16:04:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Observations]]></category>
		<category><![CDATA[libtool]]></category>

		<guid isPermaLink="false">http://www.landschoff.net/blog/?p=139</guid>
		<description><![CDATA[Ouch! This is the second time I am running into this so I&#8217;ll write it up this time.
I used libtool via automake for building a python module. Quite unhelpfully, libtool happens to build only the static library. It does that even though I passed the -module option, which should make it clear that a static [...]]]></description>
			<content:encoded><![CDATA[<p>Ouch! This is the second time I am running into this so I&#8217;ll write it up this time.</p>
<p>I used libtool via automake for building a python module. Quite unhelpfully, libtool happens to build only the static library. It does that even though I passed the <tt>-module</tt> option, which should make it clear that a static library does not help at all. There is also no mention why it skips the shared library.</p>
<p>After some research, my memory came back: libtool requires to pass the <tt>-rpath</tt> option to actually build shared libraries. I did not want to pass that options, since it is <a href="http://www.netfort.gr.jp/~dancer/column/libpkg-guide/libpkg-guide.html#rpath">considered harmful</a> where multiple variants of a library are available. It is even less useful in my specific case, as the module is only used inside the source tree for unit testing.</p>
<p>Solution: I changed the <tt>Makefile.am</tt> to use</p>
<div class="codecolorer-container make mac-classic" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="make codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">_helper_la_LDFLAGS <span style="color: #004400;">=</span> <span style="color: #004400;">-</span>module <span style="color: #004400;">-</span>rpath <span style="color: #004400;">/</span>freaking<span style="color: #004400;">/</span>libtool<span style="color: #004400;">/</span>requires<span style="color: #004400;">/</span>at<span style="color: #004400;">/</span>least<span style="color: #004400;">/</span>a<span style="color: #004400;">/</span>dummy<span style="color: #004400;">/</span>path</div></td></tr></tbody></table></div>
<p>Interestingly, the same scheme (apart from the wording) is used in libtool&#8217;s own source.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.landschoff.net/blog/2009/12/libtool-silently-skips-shared-libraries-without-rpath/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Weird: lenny install freezes in virtualbox</title>
		<link>http://www.landschoff.net/blog/2009/11/weird-lenny-install-freezes-in-virtualbox/</link>
		<comments>http://www.landschoff.net/blog/2009/11/weird-lenny-install-freezes-in-virtualbox/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 14:05:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Observations]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[roundcube]]></category>
		<category><![CDATA[virtualbox]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">http://www.landschoff.net/blog/?p=80</guid>
		<description><![CDATA[For testing packages of RoundCube webmail that I backported from Debian unstable to stable (lenny), I tried to install lenny in a virtualbox machine.
But for some reason, the installation reliably freezes at some (variable) point. The last time (I think on the 4th run), the final state shows a progress bar titled &#8220;Select and install [...]]]></description>
			<content:encoded><![CDATA[<p>For testing packages of <a href="http://roundcube.net/">RoundCube webmail</a> that I backported from Debian unstable to stable (lenny), I tried to install lenny in a <a href="http://virtualbox.org">virtualbox</a> machine.</p>
<p>But for some reason, the installation reliably freezes at some (variable) point. The last time (I think on the 4th run), the final state shows a progress bar titled &#8220;Select and install software&#8221; at 1% (see screenshot).<br />
<div id="attachment_81" class="wp-caption alignright" style="width: 160px"><a href="/blog/uploads/2009/11/lenny_inst_vbox.png"><img src="/blog/uploads/2009/11/lenny_inst_vbox-150x150.png" alt="Frozen lenny installation on virtualbox" title="lenny_inst_vbox" width="150" height="150" class="size-thumbnail wp-image-81" /></a><p class="wp-caption-text">Frozen lenny installation on virtualbox</p></div></p>
<p>However, I can still change into another virtual console inside the virtual machine and everything seems to work fine in there. I can create files on the target root partition, read files from the installer CD. Running <tt>ps</tt> in the machine, the only indicator that something is wrong is that all installer processes are in &#8220;stopped&#8221; state. On a fully installed machine, I would use tools like strace and gdb to find out what&#8217;s going on here, but they are not available inside the installer.</p>
<p>So I&#8217;ll go the easy way and create a Xen DomU to test my packages. If somebody has an explanation for this behaviour, I&#8217;m all ears&#8230;</p>
<h3>Software versions used</h3>
<pre>
virtualbox-ose                            3.0.10-dfsg-1
virtualbox-ose-guest-source               3.0.10-dfsg-1
debian-503-i386-netinst.iso
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.landschoff.net/blog/2009/11/weird-lenny-install-freezes-in-virtualbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
