<?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>Wilted buttercup, grey skies, and geek &#187; OSX</title>
	<atom:link href="http://mmt.me.uk/blog/category/osx/feed/" rel="self" type="application/rss+xml" />
	<link>http://mmt.me.uk/blog</link>
	<description>Mischa’s ramblings on the interweb</description>
	<lastBuildDate>Mon, 16 Jan 2012 23:23:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>A *more* secure(-ish) crypted file</title>
		<link>http://mmt.me.uk/blog/2012/01/16/secure-crypt-file/</link>
		<comments>http://mmt.me.uk/blog/2012/01/16/secure-crypt-file/#comments</comments>
		<pubDate>Mon, 16 Jan 2012 01:29:22 +0000</pubDate>
		<dc:creator>Mischa</dc:creator>
				<category><![CDATA[OSX]]></category>
		<category><![CDATA[gpg]]></category>
		<category><![CDATA[less]]></category>
		<category><![CDATA[passwords]]></category>
		<category><![CDATA[ramdisk]]></category>
		<category><![CDATA[vi]]></category>

		<guid isPermaLink="false">http://mmt.me.uk/blog/?p=572</guid>
		<description><![CDATA[I have been using two commands blogged about by a friend Steve Harris to store my passwords on my mac osx laptop. He illustrated two commands &#8220;useful&#8221; and &#8220;viuseful&#8221; which open an gpg encrypted file using less and vi respectively. Opening the file in less, allows for safe read-only access to the contents of the [...]]]></description>
			<content:encoded><![CDATA[<p>I have been using <a href="http://steveharris.tumblr.com/post/430632877/secure-ish-crypted-file"> two commands blogged about by a friend Steve Harris</a> to store my passwords on my mac osx laptop. He illustrated two commands &#8220;useful&#8221; and &#8220;viuseful&#8221; which open an gpg encrypted file using <a href="http://linux.about.com/gi/dynamic/offsite.htm?site=http://www.greenwoodsoftware.com/less">less</a> and <a href="http://www.vim.org/">vi</a> respectively. Opening the file in less, allows for safe read-only access to the contents of the encrypted file. The vi mode of operation as described by Steve leaves a temporary copy of the file that exists in plaintext briefly while it’s being encrypted.</p>
<p>With a little help from <a href="https://github.com/sakaru">one of my current colleagues Sid</a> I have altered Steve&#8217;s example by writing the temp file to a <a href="https://en.wikipedia.org/wiki/RAM_disk">ramdisk</a>, which is subsequently <a href="https://en.wikipedia.org/wiki/Srm_(Unix)">srm&#8217;d</a>. </p>
<p>The fact that this implementation never writes the contents of the unencrypted file to disk, I recon I can go as far as saying that it was a little *more* secure than Steve&#8217;s original post <img src='http://mmt.me.uk/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><code><br />
#Password config<br />
USEFUL_FILE="$HOME/.passwords/passwords.txt.gpg"<br />
USEFUL_KEYID="XXXXXXXX"<br />
RDLABEL="ramdisk"<br />
RAMDISK="/Volumes/$RDLABEL"  # Please no spaces<br />
FILE="passtmp"             # Please no spaces</p>
<p>function useful {<br />
&nbsp; gpg --trust-model always -d $USEFUL_FILE | less<br />
}</p>
<p>function ramdisk {<br />
&nbsp; let SIZE=$1*2<br />
&nbsp;  # Check if the ramdisk is already mounted<br />
&nbsp;  if [[ $(mount | grep "$RAMDISK " | wc -l) -eq 0 ]]; then<br />
&nbsp; &nbsp;    diskutil erasevolume HFS+ "$RDLABEL" $(hdiutil attach -nomount ram://$SIZE) &#038;> /dev/null<br />
&nbsp;  fi<br />
}</p>
<p>function cleanup {<br />
&nbsp; if [[ -e "$RAMDISK/$FILE" ]]; then<br />
&nbsp; &nbsp; srm -f "$RAMDISK/$FILE"<br />
&nbsp; &nbsp; umount "$RAMDISK"<br />
&nbsp; fi<br />
}</p>
<p>function viuseful {<br />
&nbsp; ramdisk 4096 # 4MB<br />
&nbsp; cp "$USEFUL_FILE" "$USEFUL_FILE~"<br />
&nbsp; vi '+set viminfo=' '+set noswapfile' '+r !gpg --trust-model always --quiet -d '"$USEFUL_FILE"' 2>/dev/null' '+1d' '+redraw!' "$RAMDISK/$FILE"<br />
&nbsp; if [ -s "$RAMDISK/$FILE" ]; then<br />
&nbsp; &nbsp; gpg --trust-model always --yes -r "$USEFUL_KEYID" -o "$USEFUL_FILE" -e "$RAMDISK/$FILE"<br />
&nbsp; else<br />
&nbsp; &nbsp;echo "File not changed"<br />
&nbsp; fi<br />
&nbsp; cleanup<br />
}</code></p>
<p>So yeah, a big shout out to both Steve and Sid, for now I have a proprietary secure(-ish) way of storing all of various passwords. </p>
<p>If someone would like to tell me how to create the RAMDISK on a linux machine I would love to know <img src='http://mmt.me.uk/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://mmt.me.uk/blog/2012/01/16/secure-crypt-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTTPS: Making more use of SSL</title>
		<link>http://mmt.me.uk/blog/2010/10/26/https/</link>
		<comments>http://mmt.me.uk/blog/2010/10/26/https/#comments</comments>
		<pubDate>Tue, 26 Oct 2010 10:31:16 +0000</pubDate>
		<dc:creator>Mischa</dc:creator>
				<category><![CDATA[Firefox]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Privacy]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[https]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://mmt.me.uk/blog/?p=360</guid>
		<description><![CDATA[There has been a lot of talk about how more and more people are using their laptops on public wifi connections, and with the advent of the Firesheep plugin, there has been a number of scares around session hijacking, and unencrypted login details being sent through the ether. As a result, I thought I would [...]]]></description>
			<content:encoded><![CDATA[<p>There has been a lot of talk about how more and more people are using their laptops on public wifi connections, and with the advent of the <a href="http://github.com/codebutler/firesheep/downloads">Firesheep plugin</a>, there has been a number of scares around session hijacking, and <a href="http://blogs.computerworld.com/17228/firesheep_firefox_extension_opens_fire_on_sheep_browsers">unencrypted login details being sent through the ether</a>. </p>
<p>As a result, I thought I would describe the steps I have taken in securing my <a href="https://www.mozilla.com/en-US/">Firefox</a> instance on my laptop. These are : </p>
<ul>
<li>Installing the <a href="https://www.eff.org/https-everywhere">HTTPS Everywhere</a> plugin from the <a href="https://www.eff.org/">eff</a>, which attempts to select https if available when accessing a site. I have tested it with <a href="http://www.facebook.com/">Facebook</a>, <a href="http://www.google.com/">Google</a>, <a href="http://www.hotmail.com/">Hotmail</a>, <a href="http://linkedin.com/">LinkedIn</a> and a few other sites</li>
<li>I have set my homepage to be <a href="https://encrypted.google.com/">encrypted.google.com</a></li>
<li>I have changed the search engine in top right hand of my Firefox instance to use the encrypted google service, by installing <a href="https://addons.mozilla.org/en-US/firefox/addon/161897/">their plugin</a></li>
<li>I have set a master password on my Firefox keychain, which gives my stored passwords some level of protection</li>
<li>And I run Adblocking software, (with a custom Facebook Like Button blocking extension) as per an <a href="http://mmt.me.uk/blog/2010/07/30/the-facebook-like-button/">earlier blog post</a></li>
</ul>
<p>Furthmore, I use Firefox as my main browser, I have chrome installed, but I hardly ever use it, and I have a <a href="http://mmt.me.uk/blog/2009/11/15/private-browsing-with-safari/"> locked down, stateless Safari instance</a> which I wrote about earlier.</p>
]]></content:encoded>
			<wfw:commentRss>http://mmt.me.uk/blog/2010/10/26/https/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Signing Mail on Snow Leopard</title>
		<link>http://mmt.me.uk/blog/2010/08/19/signing-mail-in-10-6/</link>
		<comments>http://mmt.me.uk/blog/2010/08/19/signing-mail-in-10-6/#comments</comments>
		<pubDate>Thu, 19 Aug 2010 15:58:35 +0000</pubDate>
		<dc:creator>Mischa</dc:creator>
				<category><![CDATA[OSX]]></category>
		<category><![CDATA[gpg]]></category>
		<category><![CDATA[gpgmail]]></category>
		<category><![CDATA[mail.app]]></category>

		<guid isPermaLink="false">http://mmt.me.uk/blog/?p=218</guid>
		<description><![CDATA[Yay finally, come across an update to the GPGMail plugin for Mail.app 4.3 on Snow Leopard. This is the one bit of functionality which I have missed since upgrading from Leopard to Snow Leopard, and have been searching for updates periodically for a while now. This is fanstatic news, as I can now digitally sign [...]]]></description>
			<content:encoded><![CDATA[<p>Yay finally,  come across an update to the <a href="http://www.gpgmail.org/"> GPGMail </a> plugin for Mail.app 4.3 on Snow Leopard. This is the one bit of functionality which I have missed since upgrading from Leopard to Snow Leopard, and have been searching for updates periodically for a while now. </p>
<p>This is fanstatic news, as I can now digitally sign my emails, with my GPG identity, which can be found linked to from my <a href="http://mmt.me.uk/foaf.rdf">FOAF file</a>.</p>
<p><a href="http://mmt.me.uk/blog/wp-content/uploads/2010/08/Screen-shot-2010-08-19-at-16.49.55.png"><img src="http://mmt.me.uk/blog/wp-content/uploads/2010/08/Screen-shot-2010-08-19-at-16.49.55.png" alt="" title="Signing Mail in Mail.app 4.3" width="400"  class="aligncenter size-full wp-image-220" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://mmt.me.uk/blog/2010/08/19/signing-mail-in-10-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Private Browsing with Safari</title>
		<link>http://mmt.me.uk/blog/2009/11/15/private-browsing-with-safari/</link>
		<comments>http://mmt.me.uk/blog/2009/11/15/private-browsing-with-safari/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 20:38:33 +0000</pubDate>
		<dc:creator>Mischa</dc:creator>
				<category><![CDATA[OSX]]></category>
		<category><![CDATA[Privacy]]></category>

		<guid isPermaLink="false">http://mmt.me.uk/blog/?p=122</guid>
		<description><![CDATA[I use Firefox as my primary browser, both at home and at work. So I have setup my Safari browser, as my private browser &#8211; that is sans cache, history, cookies or anything of a similar nature. I noticed that the &#8220;Private Browsing&#8221; option in Safari, doesn&#8217;t do that good a job of not leaving [...]]]></description>
			<content:encoded><![CDATA[<p>I use <a href="http://www.mozilla.com/firefox/">Firefox</a> as my primary browser, both at home and at work. So I have setup my Safari browser, as my private browser &#8211; that is sans cache, history, cookies or anything of a similar nature. I noticed that the &#8220;Private Browsing&#8221; option in Safari, doesn&#8217;t do that good a job of not leaving files hanging around in one&#8217;s operating system, furthermore unless your careful, <a href="http://en.wikipedia.org/wiki/Spotlight_%28software%29">Spotlight</a> will eventually end up indexing your browser history, cache, which may be less than ideal. </p>
<p>In order to have a zero cache safari instance on my laptop I have taken the following steps :</p>
<ul>
<li>1: Removed spotlight&#8217;s prying eyes, by excluding the following directories :
<ul>
<li>/Users/&lt;USERDIR&gt;/Library/Caches</li>
<li>/Users/&lt;USERDIR&gt;/Library/Safari</li>
<li>/Library/Caches</li>
</ul>
</li>
<li>2: Setup two cronjobs to constantly delete Safari cache-dir</li>
<p><code>*/10 * * * * find /Users/&lt;USERDIR&gt;/Library/Safari -type f -exec rm {} \; 2&gt;&#038;1 &gt; /dev/null<br />
*/10 * * * * find /Users/&lt;USERDIR&gt;/Library/Caches/Metadata/Safari/ -type f -exec rm {} \; 2&gt;&#038;1 &gt; /dev/null</code>
</ul>
</ul>
<p>And finally, I have created a wrapper .app file which open&#8217;s Safari, and then enables &#8220;Private Browsing&#8221; mode, as I could not find a way to do this through editing the Safari.plist file. I followed the <a href="http://www.macworld.com/article/139714/2009/03/enableprivatebrowsing.html">instructions posted on the MacWorld site</a>, and they go a little something list so: </p>
<ul>
<li>1.  One needs to enable the Enable Access for Assistive Devices option, which can be found in the Universal Access system preference.</li>
<li>2. Open the AppleScript editor, and type in the following commands :
<p><code><br />
tell application "Safari"<br />
&nbsp;&nbsp;	activate<br />
end tell<br />
tell application "System Events"<br />
&nbsp;&nbsp;	tell process "Safari"<br />
&nbsp;&nbsp;&nbsp;	     tell menu bar 1<br />
&nbsp;&nbsp;&nbsp;&nbsp;	         tell menu bar item "Safari"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;	             tell menu "Safari"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;	               click menu item "Private Browsing"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end tell<br />
&nbsp;&nbsp;&nbsp;&nbsp; end tell<br />
&nbsp;&nbsp;&nbsp; end tell<br />
&nbsp;&nbsp;end tell<br />
end tell<br />
</code></li>
<li>3. Save this shiny new AppleScript as an application (.app file), and I called mine &#8220;PrivateSafari.app&#8221;. </li>
<li>4. I then grabbed the icon file from Safari, and added to the PrivateSafari, and then replace the old shortcut in my Dock, with one to &#8220;PrivateSafari.app&#8221;.</li>
</ul>
<p>It should be noted that I am well aware that the private browsing features in most of the modern web browsers have come under a certain amount of scrutiny recently, below are some links to articles for the interested reader : </p>
<ul>
<li><a href="http://www.bbc.co.uk/news/technology-10891355">Private browsing modes leak data &#8211; BBC News</a></li>
<li><a href="http://arstechnica.com/security/news/2010/08/private-browsing-not-so-private.ars">Private browsing: it&#8217;s not so private &#8211; Ars Technica</a></li>
<li><a href="http://www.itpro.co.uk/625837/private-browsing-not-so-private">Private browsing ‘not so private’  &#8211; IT Pro </a></li>
<li><a href="http://www.theregister.co.uk/2010/08/06/private_browsing_mode_failure/">Private browsing modes in four biggest browsers often fail &#8211; The Reg</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://mmt.me.uk/blog/2009/11/15/private-browsing-with-safari/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Timemachine to a Linux Box</title>
		<link>http://mmt.me.uk/blog/2009/07/07/timemachine-to-a-linux-box/</link>
		<comments>http://mmt.me.uk/blog/2009/07/07/timemachine-to-a-linux-box/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 17:22:11 +0000</pubDate>
		<dc:creator>Mischa</dc:creator>
				<category><![CDATA[OSX]]></category>

		<guid isPermaLink="false">http://mmt.me.uk/blog/?p=27</guid>
		<description><![CDATA[By default TimeMachine on Mac OSX is configured to run through the Apple Filing Protocol only. At home I run a backup server for Time Machine on one of my Linux boxes, I did this by enabling the following feature on the machine which I have configured to be backed up. defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes [...]]]></description>
			<content:encoded><![CDATA[<p>By default <a href="http://www.apple.com/macosx/features/timemachine.html">TimeMachine</a> on <a href="http://www.apple.com/macosx/">Mac OSX</a> is configured to run through the <a href="http://en.wikipedia.org/wiki/Apple_Filing_Protocol">Apple Filing Protocol</a> only. </p>
<p>At home I run a backup server for Time Machine on one of my Linux boxes, I did this by enabling the following feature on the machine which I have configured to be backed up. </p>
<p><code>defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1 </code></p>
<p>This in turn allows for unsupported network volumes to be used as backup volumes. </p>
<p>Below are some other Apple related preferences I have configured on my macbook:</p>
<p><code>defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = { "list-type" = 1; }; "tile-type" = "recents-tile"; }'</code></p>
<p><code>defaults write com.apple.terminal FocusFollowsMouse -string YES</code></p>
<p><code>defaults write com.apple.Safari IncludeDebugMenu 1</code></p>
<p><code>defaults write com.apple.finder AppleShowAllFiles Yes (ALL FILES IN FINDER)</code></p>
]]></content:encoded>
			<wfw:commentRss>http://mmt.me.uk/blog/2009/07/07/timemachine-to-a-linux-box/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ld: duplicate symbol _g_bit_nth_lsf Mac OSX Leopard/Darwin</title>
		<link>http://mmt.me.uk/blog/2009/07/07/ld-duplicate-symbol-_g_bit_nth_lsf-mac-osx-leoparddarwin/</link>
		<comments>http://mmt.me.uk/blog/2009/07/07/ld-duplicate-symbol-_g_bit_nth_lsf-mac-osx-leoparddarwin/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 16:41:46 +0000</pubDate>
		<dc:creator>Mischa</dc:creator>
				<category><![CDATA[glib]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[_g_bit_nth_lsf]]></category>

		<guid isPermaLink="false">http://mmt.me.uk/blog/?p=19</guid>
		<description><![CDATA[I have had some problems installing software from source on my Max OS X Leopard machine. I should thank Martin Szomszor for his help on getting this working, but after some time faffing we finally got it sorted out. I found that I was having problems making software on Leopard, which I could build fine [...]]]></description>
			<content:encoded><![CDATA[<p>I have had some problems installing software from source on my <a href="http://www.apple.com/macosx/">Max OS X Leopard machine.</a> I should thank <a href="http://users.ecs.soton.ac.uk/mns2/">Martin Szomszor</a> for his help on getting this working, but after some time faffing we finally got it sorted out.</p>
<p>I found that I was having problems making software on Leopard, which I could build fine on my linux (<a href="http://fedoraproject.org/">fedora</a>) machines. The error I was getting was:</p>
<p><b>ld: duplicate symbol _g_bit_nth_lsf in foo.o and bar.o</b></p>
<p>I am running Leopard 10.5.3. I was using glib2, installed via <a href="http://www.finkproject.org/">Fink</a>, version number: 2.12.0-103. After spending lots of time googling I found the following article to be of the most use, <a href="http://www.anders.com/cms/241/Wireshark/MacPorts">&#8220;Wireshark with Macports&#8221;</a>, where Anders Brownworth pointed out that the error was due to a &#8220;<a href="http://trac.macosforge.org/projects/macports/ticket/13006">extern inline bug in glib/gutils.h which is easily fixed</a>&#8220;.</p>
<p>So to fix this:</p>
<ul>
<li>I located <b>gutils.h</b>, which I found here:<br/><br />
 /sw/include/glib-2.0/glib/gutils.h</li>
<li>I then replaced these lines:<br/><br />
<code>#ifdef G_IMPLEMENT_INLINES<br/><br />
#  define G_INLINE_FUNC<br/><br />
#  undef  G_CAN_INLINE<br/></p>
<p>#elif defined (__GNUC__)<br/><br />
#  define G_INLINE_FUNC extern inline<br/><br />
#elif defined (G_CAN_INLINE)</code></li>
<li>With this:<br/><br />
<code>#ifdef G_IMPLEMENT_INLINES<br/><br />
#  define G_INLINE_FUNC<br/><br />
#  undef  G_CAN_INLINE<br/><br />
<font color="red"><code>#elif defined (__APPLE__)<br/><br />
#  define G_INLINE_FUNC static inline</code></font><br/></p>
<p>#elif defined (__GNUC__) <br/><br />
#  define G_INLINE_FUNC extern inline<br/><br />
#elif defined (G_CAN_INLINE)</code></li>
<li>By adding these two middle lines:<br/><br />
<font color="red"><b><code>#elif defined (__APPLE__)<br/><br />
#  define G_INLINE_FUNC static inline</code></b></font></li>
<li>The start of the fragment of code was at line number <em>96</em> in my <b>gutils.h</b> file</li>
</ul>
<p>Here is a link to my edited and working <a href="http://mmt.me.uk/files/gutils.h">gutils.h file</a>.</p>
<p><b>Note 1:</b> I would make sure I get a copy of my original gutils.h file, as this may come in handy</p>
<p><b>Note 2:</b> There is a <a href="http://trac.macosforge.org/projects/macports/attachment/ticket/13006/glib2-inline.2.patch?format=raw">patch</a> which one could apply to make the same changes which I have just described here. This patch follows this <a href="http://trac.macports.org/ticket/13006">ticket</a>. I didn&#8217;t know what to do with the patch file, so I ended up editing the file by hand:). I am guessing that is something todo with macports, mmm, nevermind, its working now.</p>
]]></content:encoded>
			<wfw:commentRss>http://mmt.me.uk/blog/2009/07/07/ld-duplicate-symbol-_g_bit_nth_lsf-mac-osx-leoparddarwin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>duplicate dylib libiconv.2.dylib</title>
		<link>http://mmt.me.uk/blog/2009/07/07/duplicate-dylib-libiconv-2-dylib/</link>
		<comments>http://mmt.me.uk/blog/2009/07/07/duplicate-dylib-libiconv-2-dylib/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 16:29:27 +0000</pubDate>
		<dc:creator>Mischa</dc:creator>
				<category><![CDATA[OSX]]></category>
		<category><![CDATA[duplicate]]></category>
		<category><![CDATA[dylib]]></category>
		<category><![CDATA[iconv]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://mmt.me.uk/blog/?p=15</guid>
		<description><![CDATA[When building from source on Mac OSX, I have regularly come across the problem whereby the compiler complains about duplicate dylibs. duplicate dylib libiconv.2.dylib This is due to my use of the Fink and Darwin packages to install various bits I need for OSX development. I recently noticed that many configure scripts cater for the [...]]]></description>
			<content:encoded><![CDATA[<p>When building from source on Mac OSX, I have regularly come across the problem whereby the compiler complains about <em>duplicate dylib</em>s.</p>
<p><code>duplicate dylib libiconv.2.dylib</code></p>
<p>This is due to my use of the <a href="http://www.finkproject.org/">Fink</a> and <a href="http://darwinports.com/">Darwin</a> packages to install various bits I need for OSX development.</p>
<p>I recently noticed that many configure scripts cater for the user to select which <a href="http://www.kernelthread.com/mac/osx/programming.html">dylib</a> they would like to include. So I figured that my problem of duplicate iconv&#8217;s can be overcome by looking for options like :</p>
<p><code>--with-iconv=</code></p>
<p>So look out for similar parameters in configure scripts</p>
<p><code> ./configure --with-iconv=/opt/local/..</code></p>
<p>So, why do I not just remove all but one instance of iconv? Well, Leopard ships with an old version of iconv, and I require recent versions for my development work.</p>
]]></content:encoded>
			<wfw:commentRss>http://mmt.me.uk/blog/2009/07/07/duplicate-dylib-libiconv-2-dylib/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

