<?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>Andrew Fraser DBA &#187; Old</title>
	<atom:link href="http://andrewfraserdba.com/category/old/feed/" rel="self" type="application/rss+xml" />
	<link>http://andrewfraserdba.com</link>
	<description>Oracle DBA (plus SQL Server)</description>
	<lastBuildDate>Wed, 18 Jan 2012 15:25:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Old c compilers needed for 9i on Red Hat Linux</title>
		<link>http://andrewfraserdba.com/2007/01/12/old-c-compilers-needed-for-9i-on-red-hat-linux/</link>
		<comments>http://andrewfraserdba.com/2007/01/12/old-c-compilers-needed-for-9i-on-red-hat-linux/#comments</comments>
		<pubDate>Sat, 13 Jan 2007 00:05:39 +0000</pubDate>
		<dc:creator>Andrew Fraser</dc:creator>
				<category><![CDATA[Installs]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Old]]></category>

		<guid isPermaLink="false">http://andrewfraser.wordpress.com/2007/01/12/old-c-compilers-needed-for-9i-on-red-hat-linux/</guid>
		<description><![CDATA[9i on Red Hat Linux (with the exception apparently 32-bit on RH3) won&#8217;t install unless you revert the c compilers back to old versions. Horrible. But fixed (I am told) with oracle 10g. And its not something you necessarily want &#8230; <a href="http://andrewfraserdba.com/2007/01/12/old-c-compilers-needed-for-9i-on-red-hat-linux/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>9i on Red Hat Linux (with the exception apparently 32-bit on RH3) won&#8217;t install unless you revert the c compilers back to old versions. Horrible. But fixed (I am told) with oracle 10g.</p>
<p>And its not something you necessarily want to do just for the install &#8211; because future patchsets and even some one off bugfixes will need to use the old compilers also.</p>
<p>Also note that on Red Hat, you don&#8217;t get a choice with oracle word size &#8211; if you have built a 64 bit OS kernel, then you have to use 64 bit oracle, and (obviously) vice versa. That&#8217;s different to SPARC Solaris, where you can happily run 32 bit oracle on a 64 bit kernel (if for some strange reason you ever wanted to). However it is possible to run a 32 bit kernel OS on 64 bit hardware. &#8220;uname -a&#8221; tells you whether the OS kernel is 32 bit or 64 bit &#8211; if it reports &#8220;i386&#8243;, its 32 bit; &#8220;i386-64&#8243; means its 64 bit.</p>
<p>On RH4, for both 64-bit and 32-bit:<br />
1) Revert back to an old c compiler (as the root userid):</p>
<pre class="brush:bash, shell">mv /usr/bin/gcc /usr/bin/gcc.orig
mv /usr/bin/g++ /usr/bin/g++.orig
ln -s /usr/bin/x86_64-redhat-linux-gcc32 /usr/bin/gcc
ln -s /usr/bin/x86_64-redhat-linux-g++32 /usr/bin/g++</pre>
<p>2) Set environment variable (as the oracle userid before running installer):</p>
<pre class="brush:bash, shell">export LD_ASSUME_KERNEL=2.4.19</pre>
<p>On RH3 64-bit:<br />
1) apply patch 3423540 before running the installer<br />
2) Set environment variable (as the oracle userid before running installer):</p>
<pre class="brush:bash, shell">export LD_ASSUME_KERNEL=2.4.19</pre>
<p>On RH3 32-bit:<br />
1) Revert back to an old c compiler (as the root userid):</p>
<pre class="brush:bash, shell">mv /usr/bin/gcc /usr/bin/gcc323
mv /usr/bin/g++ /usr/bin/g++323
ln -sf /usr/bin/gcc296 /usr/bin/gcc
ln -sf /usr/bin/g++296 /usr/bin/g++</pre>
<p>2) apply patch 3006854 before running the installer<br />
3) Set environment variable (as the oracle userid before running installer):</p>
<pre class="brush:bash, shell">export LD_ASSUME_KERNEL=2.4.19</pre>
<p>(Caveat emptor: I&#8217;ve only done installs of RH4 64-bit and RH3 32-bit, so the information for the others is from metalink only.)</p>
<p>References:<br />
<a href="https://metalink.oracle.com/metalink/plsql/showdoc?db=NOT&amp;id=252217.1&amp;blackframe=1"> RH3 32-bit</a><br />
<a href="https://metalink.oracle.com/metalink/plsql/showdoc?db=NOT&amp;id=308588.1&amp;blackframe=1">RH3 64-bit</a><br />
<a href="https://metalink.oracle.com/metalink/plsql/showdoc?db=NOT&amp;id=303859.1&amp;blackframe=1">RH4 32-bit</a><br />
<a href="https://metalink.oracle.com/metalink/plsql/showdoc?db=NOT&amp;id=353529.1&amp;blackframe=1">RH4 64-bit</a></p>
]]></content:encoded>
			<wfw:commentRss>http://andrewfraserdba.com/2007/01/12/old-c-compilers-needed-for-9i-on-red-hat-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

