<?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>davidb dives in &#187; Mac Stuff</title>
	<atom:link href="http://blacka.com/david/category/mac-stuff/feed/" rel="self" type="application/rss+xml" />
	<link>http://blacka.com/david</link>
	<description>various musings and babblings.</description>
	<lastBuildDate>Tue, 19 Jan 2010 23:37:29 +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>Installing DBD::Oracle on Mac OS X, redux</title>
		<link>http://blacka.com/david/2009/12/10/installing-dbdoracle-on-mac-os-x-redux/</link>
		<comments>http://blacka.com/david/2009/12/10/installing-dbdoracle-on-mac-os-x-redux/#comments</comments>
		<pubDate>Thu, 10 Dec 2009 13:34:26 +0000</pubDate>
		<dc:creator>davidb</dc:creator>
				<category><![CDATA[Mac Stuff]]></category>
		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://blacka.com/david/?p=93</guid>
		<description><![CDATA[After upgrading to Snow Leopard, I had to redo the installation of DBD::Oracle.  This time I used DBD::Oracle 1.23.  The good news is that the majority of my previous instructions no longer appear to be necessary.  A normal build of DBD::Oracle looks ugly, but completes.

HOWEVER, I did discover that if you are [...]]]></description>
			<content:encoded><![CDATA[<p>After upgrading to Snow Leopard, I had to redo the installation of <a href="http://search.cpan.org/dist/DBD-Oracle/">DBD::Oracle</a>.  This time I used DBD::Oracle 1.23.  The good news is that the majority of my <a href="http://blacka.com/david/2008/11/12/how-to-install-dbdoracle-on-mac-os-x/">previous instructions</a> no longer appear to be necessary.  A normal build of DBD::Oracle looks ugly, but completes.</p>

<p>HOWEVER, I did discover that if you are running a 64-bit perl, which you probably are, you need to get the 64-bit Oracle <a href="http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/intel_macsoft.html">instantclient</a> release.  If you build DBD::Oracle and then cannot load the module because of missing symbols (e.g., _OCIAttrGet), then what is happening is that you linked against 32-bit libraries which cannot load from the 64-bit perl instance.</p>
]]></content:encoded>
			<wfw:commentRss>http://blacka.com/david/2009/12/10/installing-dbdoracle-on-mac-os-x-redux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install DBD::Oracle on Mac OS X</title>
		<link>http://blacka.com/david/2008/11/12/how-to-install-dbdoracle-on-mac-os-x/</link>
		<comments>http://blacka.com/david/2008/11/12/how-to-install-dbdoracle-on-mac-os-x/#comments</comments>
		<pubDate>Thu, 13 Nov 2008 03:03:20 +0000</pubDate>
		<dc:creator>davidb</dc:creator>
				<category><![CDATA[Mac Stuff]]></category>
		<category><![CDATA[Macintoshia]]></category>

		<guid isPermaLink="false">http://blacka.com/david/?p=78</guid>
		<description><![CDATA[Today, I figured out how to get DBD::Oracle to work on Mac OS X Leopard (intel).  Since it isn&#8217;t (yet) entirely straightforward, I thought I&#8217;d describe the process here:


Install instantclient.  You will need the basic and sdk modules.  I suggest also getting the sqlplus module while you are at it. I put [...]]]></description>
			<content:encoded><![CDATA[<p>Today, I figured out how to get <a href="http://search.cpan.org/dist/DBD-Oracle/">DBD::Oracle</a> to work on Mac OS X Leopard (intel).  Since it isn&#8217;t (yet) entirely straightforward, I thought I&#8217;d describe the process here:</p>

<ol>
<li><p>Install <a href="http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/intel_macsoft.html">instantclient</a>.  You will need the basic and sdk modules.  I suggest also getting the sqlplus module while you are at it. I put this in <strong>/usr/local/instantclient_10_2</strong>.</p></li>
<li><p>Modify your .bashrc (or whatever) to set <strong>ORACLE_HOME</strong> and <strong>DYLIB_LIBRARY_PATH</strong> to /usr/local/instanclient_10_2.</p></li>
<li><p>Get <a href="http://search.cpan.org/dist/DBD-Oracle/">DBD::Oracle</a> from <a href="http://www.cpan.org">CPAN</a>.  (I got 1.22). Here is where it gets tricky:
In Terminal:</p></li>
</ol>

<p style="text-indent:20pt;"><code>% perl Makefile.PL</code></p>

<p>This generates <em>Makefile</em>.</p>

<ol>
<li><p>Edit <em>Makefile</em>, <a href="http://osdir.com/ml/lang.perl.macosx/2005-04/msg00079.html">changing</a>: <em>NMEDIT=nmedit</em> to <em>NMEDIT=echo</em></p></li>
<li><p>Edit <em>dbimp.c</em>, removing all code that references <strong>dump_env_to_trace()</strong>.  I found a patch at <a href="http://www.macosxhints.com/article.php?story=20061021211559813">macosxhints.com</a>, but this is tied to a particular release of DBD::Oracle.  I decided to use my mad programming skillz to logically do what was needed.  Hopefully this will be fixed in some future version of DBD::Oracle.</p></li>
<li><p>Again, in Terminal:</p></li>
</ol>

<p style="text-indent:20pt;"><code>% make &#38;&#38; sudo make install</code></p>

<p>And that should do it.</p>
]]></content:encoded>
			<wfw:commentRss>http://blacka.com/david/2008/11/12/how-to-install-dbdoracle-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
