<?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>Dogma &#187; readline</title>
	<atom:link href="http://dogma.swiftspirit.co.za/archives/tag/readline/feed" rel="self" type="application/rss+xml" />
	<link>http://dogma.swiftspirit.co.za</link>
	<description>... brakes for Pretty Rocks</description>
	<lastBuildDate>Thu, 10 Jun 2010 23:05:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>problem with bash when upgrading readline</title>
		<link>http://dogma.swiftspirit.co.za/archives/561</link>
		<comments>http://dogma.swiftspirit.co.za/archives/561#comments</comments>
		<pubDate>Thu, 12 Nov 2009 16:48:10 +0000</pubDate>
		<dc:creator>Tricky</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[shit happens]]></category>
		<category><![CDATA[arch]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[broken]]></category>
		<category><![CDATA[dependency handling]]></category>
		<category><![CDATA[libreadline]]></category>
		<category><![CDATA[libreadline.so]]></category>
		<category><![CDATA[libreadline.so.5]]></category>
		<category><![CDATA[pacman]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[readline]]></category>
		<category><![CDATA[version]]></category>
		<category><![CDATA[yaourt]]></category>

		<guid isPermaLink="false">http://dogma.swiftspirit.co.za/?p=561</guid>
		<description><![CDATA[If you ever find yourself updating a single application in Arch Linux (a very bad idea, btw) and it upgrades readline you might end up seeing an error along the lines of:
/bin/bash: error while loading shared libraries: libreadline.so.5: cannot open shared object file: No such file or directory
Hopefully you still have a bash prompt open [...]]]></description>
			<content:encoded><![CDATA[<p>If you ever find yourself updating a single application in <a href="http://archlinux.org/">Arch Linux</a> (a very bad idea, btw) and it upgrades readline you might end up seeing an error along the lines of:<br />
<code>/bin/bash: error while loading shared libraries: libreadline.so.5: cannot open shared object file: No such file or directory</code><br />
Hopefully you still have a bash prompt open and you haven&#8217;t closed them all. If you still can, <strong>immediately</strong> run the following:<br />
<code>pacman -S bash</code><br />
else you won&#8217;t be able to run bash any more because bash would still be linking to the old version of readline.</p>
<p>Also, in future, don&#8217;t run<br />
<code>pacman -Sy application</code><br />
(python in my case)<br />
instead, run:<br />
<code>pacman -Syu</code><br />
which will ensure that all applications are upgraded.</p>
<p>Personally, I think that bash should have had a dependency set saying that it required the old specific version of readline and the same for the new bash, requiring the new version of readline. Regardless, rather play it safe. <img src='http://dogma.swiftspirit.co.za/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://dogma.swiftspirit.co.za/archives/561/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
