<?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>Meh Blog! &#187; macosx</title>
	<atom:link href="http://www.codexsoftware.co.uk/blog/tag/macosx/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codexsoftware.co.uk/blog</link>
	<description>Computer topics and random rants!</description>
	<lastBuildDate>Wed, 30 Jun 2010 21:31:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Oops! I guess I needed that libcrypto.dylib file&#8230;</title>
		<link>http://www.codexsoftware.co.uk/blog/computers/mac/oops-i-guess-i-needed-that-libcrypto-dylib-file/</link>
		<comments>http://www.codexsoftware.co.uk/blog/computers/mac/oops-i-guess-i-needed-that-libcrypto-dylib-file/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 21:11:18 +0000</pubDate>
		<dc:creator>arcana</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[broken]]></category>
		<category><![CDATA[libcrypto]]></category>
		<category><![CDATA[macosx]]></category>

		<guid isPermaLink="false">http://www.codexsoftware.co.uk/blog/?p=28</guid>
		<description><![CDATA[I was trying to get wine working on my Mac.  It&#8217;s been erroring about something or another so I ran winedbg to see what it was complaining about.  The last function on the callstack seemed to be in the libcrypto.0.9.7.dylib library in the /usr/lib directory so in my infinite wisdom I renamed it to see if [...]]]></description>
			<content:encoded><![CDATA[<p>I was trying to get wine working on my Mac.  It&#8217;s been erroring about something or another so I ran winedbg to see what it was complaining about.  The last function on the callstack seemed to be in the <span style="font-family: 'Lucida Grande', 'Times New Roman', 'Bitstream Charter', Times, serif; line-height: normal; font-size: 12px;">libcrypto.0.9.7.dylib library in the /usr/lib directory so in my infinite wisdom I renamed it to see if it was loading a different one from somewhere.  Big mistake&#8230;</span></p>
<p><span style="font-family: 'Lucida Grande', 'Times New Roman', 'Bitstream Charter', Times, serif; line-height: normal; font-size: 12px;">I was left in a position where I could no longer sudo to rename it back.  I had no luck from Finder either and I couldn&#8217;t open new Terminal sessions.  I decided to reboot in safe mode by holding down shift while rebooting to see if I could repair the damage from there but my system just wouldn&#8217;t come up &#8211; I was left staring at the Apple logo.</span></p>
<p><span style="font-family: 'Lucida Grande', 'Times New Roman', 'Bitstream Charter', Times, serif; line-height: normal; font-size: 12px;">In case you should ever find yourself in this position, don&#8217;t panic too much &#8211; After much panicking myself, I managed to fix it by doing the following.  Bear in mind at the time of writing I use Leopard so things may be a little different in future OS X versions.</span></p>
<ul>
<li><span style="font-family: 'Lucida Grande', 'Times New Roman', 'Bitstream Charter', Times, serif; line-height: normal; font-size: small;">Locate your OS X installation disk 1 and pop it in the DVD drive.</span></li>
<li><span style="font-family: 'Lucida Grande', 'Times New Roman', 'Bitstream Charter', Times, serif; line-height: normal; font-size: small;">Reboot while holding the C key down to force your Mac to boot from the DVD drive.</span></li>
<li><span style="font-family: 'Lucida Grande', 'Times New Roman', 'Bitstream Charter', Times, serif; line-height: normal; font-size: small;">It&#8217;ll load up and ask you what language you&#8217;d like to use.  Pick one (preferably one you can understand lol).</span></li>
<li><span style="font-family: 'Lucida Grande', 'Times New Roman', 'Bitstream Charter', Times, serif; line-height: normal; font-size: small;"><span style="font-size: xx-small;"><span style="font-size: 13px;">The next screen is all about reinstalling.  That&#8217;s a last resort really because we can fix things from here.  On the Utilities menu you should see Terminal.  Choose it and the Terminal will open with a bash shell.</span></span></span></li>
<li><span style="font-family: 'Lucida Grande', 'Times New Roman', 'Bitstream Charter', Times, serif; line-height: normal; font-size: small;"><span style="font-size: xx-small;"><span style="font-size: 13px;">Bear in mind that you&#8217;ve not booted from your hard disk so the directory structure will look different to what you&#8217;re used to.  Change directory in to /Volumes and then in to your hard disk, possibly called &#8220;Macintosh HD&#8221; unless you&#8217;ve changed it.</span></span></span></li>
<li><span style="font-family: 'Lucida Grande', 'Times New Roman', 'Bitstream Charter', Times, serif; line-height: normal; font-size: small;"><span style="font-size: xx-small;"><span style="font-size: 13px;">Now you&#8217;re actually looking at your hard disk and should be able to change directory in to usr/lib and <em>mv</em> the file back to it&#8217;s original name.  Just to clarify, you should <em>not</em> be in /usr/lib.  You should be in /Volumes/Macintosh HD/usr/lib.</span></span></span></li>
</ul>
<p>Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codexsoftware.co.uk/blog/computers/mac/oops-i-guess-i-needed-that-libcrypto-dylib-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
