<?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>CornEmpire Software &#187; asciisec</title>
	<atom:link href="http://cornempire.net/tag/asciisec/feed/" rel="self" type="application/rss+xml" />
	<link>http://cornempire.net</link>
	<description>Tidbits about programming, web development, gaming and other random stuff.</description>
	<lastBuildDate>Thu, 29 Jul 2010 16:57:32 +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>Running ASCII Sector on Ubuntu 64bit</title>
		<link>http://cornempire.net/2008/10/03/running-ascii-sector-on-ubuntu-64bit/</link>
		<comments>http://cornempire.net/2008/10/03/running-ascii-sector-on-ubuntu-64bit/#comments</comments>
		<pubDate>Fri, 03 Oct 2008 17:40:46 +0000</pubDate>
		<dc:creator>cornmaster</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[asciisec]]></category>

		<guid isPermaLink="false">http://www.cornempire.net/?p=32</guid>
		<description><![CDATA[ASCII Sector is a space trading game written completely using ASCII graphics. It is available from www.asciisector.net. There are Windows and Linux versions. This is a post I made on the forum over there explaining how I got this to run in a 64bit environment. Hello All, I thought I would tell you a story [...]]]></description>
			<content:encoded><![CDATA[<p>ASCII Sector is a space trading game written completely using ASCII graphics.  It is available from <a href="http://www.asciisector.net" target="_blank">www.asciisector.net</a>.  There are Windows and Linux versions.  This is a post I made on the forum over there explaining how I got this to run in a 64bit environment.</p>
<p>Hello All, I thought I would tell you a story of how I got this running on my 64bit Ubuntu (since I didn&#8217;t at a glance see anything tho help me out with this).</p>
<p>First, I&#8217;m running a 64bit install of Mythbuntu that I converted to a regular Ubuntu desktop a few months after the install.</p>
<p>I downloaded and installed ASCII Sector as described in the instructions.  When I ran the file, I would get the error:<br />
<code>bash: ./asciisec: No such file or directory</code></p>
<p>Of course, this made no sense since I was at the location of the file.  I made sure I had libsdl and libsdl mixer installed, but that didn&#8217;t help.  So I went browsing around, and found a post that said that this error was common when running 32bit apps on a 64bit install, and than installing the 32bit libraries would help.  So I ran this command:<br />
<code>sudo apt-get install ia32-libs</code></p>
<p>This installed the libraries for me, and when I ran it, I no longer got that error (Yah!)  I got this one instead (boo):<br />
<code>./asciisec: error while loading shared libraries: libsmpeg-0.4.so.0: cannot open shared object file: No such file or directory</code></p>
<p>So, I used Synaptic to ensure that I had libsmpeg installed and I did.  So, I did an strace on the process to see where it was looking for the file.  Then I ran the find command to see where it was:<br />
<code>sudo find / -name "libsmpeg*"</code><br />
And it wasn&#8217;t looking where it was located.  So I tried to create a symlink to a path it was looking in, but that didn&#8217;t work either.  I got this error:<br />
<code>./asciisec: error while loading shared libraries: libsmpeg-0.4.so.0: wrong ELF class: ELFCLASS64</code></p>
<p>So I was back to the drawing board.</p>
<p>I did more searching, and came across a ubuntu 64bit gaming post referring to the getlibs application that installs 32bit compatible libs on 64 bit system.  Here is that post: <a href="http://ubuntuforums.org/showthread.php?t=662770&#038;page=6" target="_blank">http://ubuntuforums.org/showthread.php?t=662770&#038;page=6</a>  I downloaded getlibs from here: <a href="http://ubuntuforums.org/showthread.php?t=474790" target="_blank">http://ubuntuforums.org/showthread.php?t=474790</a> installed it, and then ran this command:<br />
<code>getlibs -l libsmpeg-0.4.so.0</code><br />
The program works similar to apt-get and downloaded the library and installed it.  Then I ran asciisec and I was in the game. (real Yah!)  I didn&#8217;t actually get to play it yet, but I imagine it will work fine now that it is all loaded up.</p>
<p>I&#8217;ve played a little bit, and it is a pretty fun game.  I hope to make some quests for it in the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://cornempire.net/2008/10/03/running-ascii-sector-on-ubuntu-64bit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
